@Test
public void givenEmployeeWithNoError_whenGetEmployee_employeeWithNoErrorIsReturned() {

    Employee first = new EmployeeTestBuilder().build();
    MonthlyTaxForEmployee monthlyTax = new MonthlyTaxForEmployeeTestBuilder()
            .withEmployee(first)
            .build();
    entityManager.persist(first);
    entityManager.persist(monthlyTax);
    entityManager.flush();
    EmployeeTo employeeTo = presentationEmployeeRepository.getEmployee(first.getId());
    assertThat(employeeTo.getErrorCount()).isEqualTo(0L);
}