ActiveRecordFinderTest::testFindBySQL_returns_one_record PHP Method

testFindBySQL_returns_one_record() public method

    function testFindBySQL_returns_one_record()
    {
        $department = DepartmentRecord::finder()->find('department_id < ?', 5);
        $this->assertNotNull($department);
    }