public void ClassMethod() { var c1 = new C1Builder(this.Session).Build(); var classMethod = c1.ClassMethod(); Assert.AreEqual("C1TestC1BaseC1Core", classMethod.Value); }
public void ClassMethod() { var c1 = new C1Builder(this.Session).Build(); var classMethod = c1.ClassMethod(); Assert.Equal("C1CustomC1BaseC1Core", classMethod.Value); }
public void CallMethodTwice() { var c1 = new C1Builder(this.Session) .Build(); var classMethod = c1.ClassMethod(); var exceptionThrown = false; try { classMethod.Execute(); } catch { exceptionThrown = true; } Assert.IsTrue(exceptionThrown); }
public void CallMethodTwice() { var c1 = new C1Builder(this.Session) .Build(); var classMethod = c1.ClassMethod(); var exceptionThrown = false; try { classMethod.Execute(); } catch { exceptionThrown = true; } Assert.True(exceptionThrown); }