public void given_two_products_when_listing_then_return_one_product_with_id_2() { DBOperation.CreateTwoProducts(); string name = "test_product_02"; int productId = 2; Bootstrapper.Initialize(); IProductService service = Bootstrapper.Resolve <IProductService>(); Product product = service.GetProduct(productId); product.Should().NotBeNull(); product.Name.Should().Be(name, "product name !!!"); product.Id.Should().Be(productId, "product id !!!"); Bootstrapper.Dispose(); }