public void Get_ShouldReturnEntity() { //Arrange ResetDataBase(); ContentContentTypesBL contentContentTypesBL = DI.Resolve <ContentContentTypesBL>(); //Act ContentContentType contentContentType = contentContentTypesBL.Get("image/png"); //Assert Assert.That(contentContentType, !Is.Null); }
public ProductsController(ProductCategoriesBL productCategoriesBL, ProductsBL productsBL, BrandsBL brandsBL, CountriesBL countriesBL, ContentContentTypesBL contentContentTypesBL, ProductPhotosBL productPhotosBL, CurrenciesBL currenciesBL) { _productCategoriesBL = productCategoriesBL; _productsBL = productsBL; _brandsBL = brandsBL; _countriesBL = countriesBL; _contentContentTypesBL = contentContentTypesBL; _productPhotosBL = productPhotosBL; _currenciesBL = currenciesBL; }