### Question:
SynchPropertiesServiceImpl extends AbstractDataUtilsServiceImpl implements SynchPropertiesService { @Override public SynchTimestamps getSynchTimestamps() throws JargonException { log.info("getSynchTimestamps()"); EnvironmentalInfoAO environmentalInfoAO = irodsAccessObjectFactory.getEnvironmentalInfoAO(irodsAccount); long localTimestamp = new Date().getTime(); long irodsTimestamp = environmentalInfoAO.getIRODSServerCurrentTime(); SynchTimestamps synchTimestamps = new SynchTimestamps(localTimestamp, irodsTimestamp); log.info("timestamps are:{}", synchTimestamps); return synchTimestamps; } SynchPropertiesServiceImpl();  SynchPropertiesServiceImpl(final IRODSAccessObjectFactory irodsAccessObjectFactory,
			final IRODSAccount irodsAccount); @Override UserSynchTarget getUserSynchTargetForUserAndAbsolutePath(final String userName, final String deviceName,
			final String irodsAbsolutePath); @Override List<UserSynchTarget> getUserSynchTargets(final String userName); @Override void updateTimestampsToCurrent(final String userName, final String deviceName,
			final String irodsAbsolutePath); @Override void addSynchDeviceForUserAndIrodsAbsolutePath(final String userName, final String deviceName,
			final String irodsAbsolutePath, final String localAbsolutePath); @Override SynchTimestamps getSynchTimestamps(); @Override boolean synchDeviceExists(final String userName, final String deviceName, final String irodsAbsolutePath); @Override void removeSynchDevice(final String userName, final String deviceName, final String irodsAbsolutePath); static final Logger log; }### Answer:
@Test public void testSynchTimestamps() throws Exception { long expectedIrodsTimestamp = 949493049304L; IRODSAccount irodsAccount = testingPropertiesHelper.buildIRODSAccountFromTestProperties(testingProperties); IRODSAccessObjectFactory irodsAccessObjectFactory = Mockito.mock(IRODSAccessObjectFactory.class); EnvironmentalInfoAO environmentalInfoAO = Mockito.mock(EnvironmentalInfoAO.class); Mockito.when(irodsAccessObjectFactory.getEnvironmentalInfoAO(irodsAccount)).thenReturn(environmentalInfoAO); Mockito.when(environmentalInfoAO.getIRODSServerCurrentTime()).thenReturn(expectedIrodsTimestamp); SynchPropertiesServiceImpl synchPropertiesService = new SynchPropertiesServiceImpl(); synchPropertiesService.setIrodsAccessObjectFactory(irodsAccessObjectFactory); synchPropertiesService.setIrodsAccount(irodsAccount); SynchTimestamps synchTimestamps = synchPropertiesService.getSynchTimestamps(); Assert.assertNotNull("null synchTimestamps returned", synchTimestamps); Assert.assertEquals("invalid irods timestamp", expectedIrodsTimestamp, synchTimestamps.getIrodsSynchTimestamp()); }