public void ToCatalogNameWithNull() { // Setup var catalog = new DirectoryCatalog(Assembly.GetExecutingAssembly(), "TestViews", "View"); // Execute var catalogName = catalog.ToCatalogName(a_typeName: null); }
public void ToCatalogNameWithIncorrectSuffix() { // Setup var catalog = new DirectoryCatalog(Assembly.GetExecutingAssembly(), "TestViews", "View"); // Execute var catalogName = catalog.ToCatalogName("TestXiew"); // Assert Assert.AreEqual("TestXiew", catalogName); }