public void IsController_DummyControl_ReturnsFalse() { //Act var result = SitefinityControllerFactroryExtensions.IsController(null, typeof(DummyControl)); //Assert Assert.IsFalse(result, "The method recognize simple Control as Controller."); }
public void IsController_DummyController_ReturnsTrue() { //Act var result = SitefinityControllerFactroryExtensions.IsController(null, typeof(DummyController)); //Assert Assert.IsTrue(result, "The method fail to recognize a controller."); }
public void IsController_DummyControl_ReturnsFalse() { var result = SitefinityControllerFactroryExtensions.IsController(null, typeof(DummyControl)); Assert.IsFalse(result); }