public void IsControllerAssembly_DesignerAssembly_ReturnTrue() { var initializer = new DummyInitializer(); var result = initializer.IsControllerContainerPublic(typeof(DesignerController).Assembly.CodeBase); Assert.IsTrue(result); }
public void IsControllerAssembly_NonExistingFileName_ReturnsFalse() { var initializer = new DummyInitializer(); var result = initializer.IsControllerContainerPublic("C:\\NonExistingPath\\NonExistingAssembly.dll"); Assert.IsFalse(result); }
public void IsControllerAssembly_NullFileName_ReturnsFalse() { var initializer = new DummyInitializer(); var result = initializer.IsControllerContainerPublic(null); Assert.IsFalse(result); }