Assert.assertTrue(domainSalesman1 instanceof DomainSalesman);
DomainDataFile domainCostumer = dataFile.get(2);
Assert.assertTrue(domainCostumer instanceof DomainCostumer);
DomainSales domainSales = (DomainSales) dataFile.get(5);
Assert.assertTrue(domainSales instanceof DomainSales);
Assert.assertEquals(10, domainSales.getId());
Assert.assertEquals(3, domainSales.getItens().size());
Assert.assertEquals(((DomainSalesman) domainSalesman).getName(), domainSales.getSalesman().getName());
Assert.assertTrue(3.10D == domainSales.getItens().get(2).getPrice());
} catch (Exception e) {
fail(e.getMessage());
}