public function testGetUserByUnknownId() { // Setup test $users = $this->getMockUsers(); // Run test $result = $users->getUser(0); // Check result $this->assertEquals(false, $result); }