"Baten, Jeroen", "5160", new LocalDate().minusDays(1), 9.00);
timeRegistrations.add(timeRegistration);
TimeRegistrationRequestDTO timeRegistrationRequestDTO = new TimeRegistrationRequestDTO();
timeRegistrationRequestDTO.setTimeRegistrations(timeRegistrations);
TimeRegistrationResponseDTO timeRegistrationResponse = TimSoapClient
.sendRequestReceiveResponse(properties.getProperty("url"),
properties.getProperty("username"),
properties.getProperty("password"),
timeRegistrationRequestDTO,
TimeRegistrationResponseDTO.class);
if (timeRegistrationResponse == null) {
fail("Time Registration Response is null");
}
assertTrue(!timeRegistrationResponse.getRefs().isEmpty());
}