* Test of createNewTypewWorkShift method, of class ServiceFacadeSmeny.
*/
@Test
public void testCreateNewTypewWorkShift_Typeworkshift() {
System.out.println("createNewTypewWorkShift");
Typeworkshift typeWorkshift = new Typeworkshift();
typeWorkshift.setName("TestFacade");
Date date = new Date(10000);
typeWorkshift.setFromTime(date);
date = new Date(20000);
typeWorkshift.setToTime(date);
typeWorkshift.setStatus(1);
typeWorkshift.setIdWorkshiftRole(1);
this.serviceFacadeSmeny.createNewTypewWorkShift(typeWorkshift);
Typeworkshift testType = Typeworkshift.findByName(typeWorkshift.getName());
assertEquals(typeWorkshift.getName(), testType.getName());
assertEquals(typeWorkshift.getIdWorkshiftRole(), testType.getIdWorkshiftRole());
assertEquals(typeWorkshift.getFromTime(), testType.getFromTime());
assertEquals(typeWorkshift.getToTime(), testType.getToTime());
}