assertThat(blueprintDetails.getInventionRequirements().size(), equalTo(1));
}
@Test
public void test_getBlueprintDetailsForTypeName() {
BlueprintDetails blueprintDetails = blueprintService.getBlueprintDetailsForTypeName("typeName");
assertThat(blueprintDetails.getBlueprintType().getProductTypeID(), equalTo(2L));
assertThat(blueprintDetails.getMaterials().size(), equalTo(2));
assertThat(blueprintDetails.getMaterials().get(0).getQuantity(), equalTo(6L));
assertThat(blueprintDetails.getMaterials().get(1).getQuantity(), equalTo(30L));
assertThat(blueprintDetails.getManufacturingRequirements().size(), equalTo(2));
assertThat(blueprintDetails.getTimeProductivityRequirements().size(), equalTo(1));
assertThat(blueprintDetails.getMaterialProductivityRequirements().size(), equalTo(1));
assertThat(blueprintDetails.getCopyingRequirements().size(), equalTo(1));
assertThat(blueprintDetails.getReverseEngineeringRequirements().size(), equalTo(1));
assertThat(blueprintDetails.getInventionRequirements().size(), equalTo(1));
}