Buggy code:
public class GoogleImporterTest { private JavaEEGloss gloss ; private ContactsService contactsServiceMock ; private ContactEntry contactEntry ; private GoogleImporter gImporterUnderTest ; public GoogleImporterTest ( ) { } @ Before public void setUp ( ) { } @ Test public void testGetConnection ( ) throws AuthenticationException , ConnectorCouldNotLoginException , ConnectorInvalidAccountException { } @ Test ( expected = ConnectorInvalidAccountException . class ) public void testGetConnectionCouldThrowConnectorInvalidAccountException ( ) throws AuthenticationException , ConnectorCouldNotLoginException , ConnectorInvalidAccountException { } @ Test public void testGetAllGroupsWithNull ( ) throws ServiceException , IOException { } @ Test public void testGetAllGroupsWithGroupFeed ( ) throws ServiceException , IOException { } @ Test public void testGetAllGroupsByThrowingIOException ( ) throws ServiceException , IOException { } @ Test public void testGetAllGroupsByThrowingServiceException ( ) throws ServiceException , IOException { } @ Test public void testGetAllContactsReturnNull ( ) throws ServiceException , IOException { } @ Test public void testGetAllContactsReturnList ( ) throws ServiceException , IOException { } @ Test public void testGetAllContactsByThrowingIOException ( ) throws ServiceException , IOException { } @ Test public void testGetAllContactsByThrowingServiceException ( ) throws ServiceException , IOException { } @ Test @ Ignore public void testImportContacts ( ) { } @ Test public void testgetGContactFirstMailAdressWithOneAdress ( ) { } @ Test public void testgetGContactFirstMailAdressWithManyAdress ( ) { } @ Test public void testgetGContactFirstMailAdressWithNoAdress ( ) { } @ SuppressWarnings ( "deprecation" ) @ Test public void testgetGContactBirthdayWithABirthday ( ) { } @ Test public void testgetGContactBirthdayWithoutABirthday ( ) { } @ Test public void testgetGContactBirthdayThrowNullPointer ( ) { } @ Test public void testgetGContactFamilyname ( ) { } @ Test public void testgetGContactFamilynameThrowNullPointer ( ) { } @ Test public void testgetGContactFirstname ( ) { } @ Test public void testgetGContactFirstnameThrowNullPointer ( ) { GoogleImporter instance = new GoogleImporter ( ) ; contactEntry . setName ( null ) ; <START_BUG> assertEquals ( "Hans" , instance . getGContactFirstname ( contactEntry ) ) ; <END_BUG> } @ Test public void testMapGContacttoContactFemale ( ) { } @ Test public void testMapGContacttoContactMale ( ) { } @ Test @ Ignore public void testMapGContacttoContactWithoutEmailandBirthday ( ) { } @ Test public void testGetGroupname ( ) { } @ Test public void testGetGroupnameThrowNullPoointer ( ) { } @ Test public void testMapGgroupToGroup ( ) { } @ Test public void testupdateGroups ( ) throws ServiceException , IOException { } @ Test public void testupdateGroupsWithANewGroup ( ) throws ServiceException , IOException { } @ Test public void testupdateGroupsWithNoUpdates ( ) throws ServiceException , IOException { } @ Test public void testupdateGroupsWithAUpdateGroup ( ) throws ServiceException , IOException { } @ Test public void updateContactWithExistContact ( ) throws ServiceException , IOException { } @ Test public void updateContactWithEditContact ( ) throws ServiceException , IOException { } @ Test public void updateContactWithNewContact ( ) throws ServiceException , IOException { } @ Test public void updateContactMappedObjectNull ( ) throws ServiceException , IOException { } No newline ; at end ; of file ; }

Fix:
assertEquals ( "" , instance . getGContactFirstname ( contactEntry ) ) ;