CreateIvFluidShape() public static method

public static CreateIvFluidShape ( ) : Shape
return Shape
Exemplo n.º 1
0
        public static Product CreateProductWithOneSubstAndOneRoute()
        {
            var dto     = GetProductDtoWithNoSubstances();
            var shape   = ShapeTestFixtures.CreateIvFluidShape();
            var package = PackageTestFixtures.CreatePackageAmpul();
            var unit    = UnitTestFixtures.CreateUnitMililiter();
            var product = Product.Create(dto)
                          .Shape(shape)
                          .Package(package)
                          .Quantity(unit, 5M)
                          .Substance(1, SubstanceTestFixtures.CreateSubstanceWithoutGroup(), 200M,
                                     UnitTestFixtures.CreateUnitMilligram())
                          .Route(RouteTestFixtures.CreateRouteIv());

            return(product);
        }