public void VerifyImplementations(IWhatever thing) { int input = 42; int result = thing.DoSomething(input); Assert.That(result, Is.EqualTo(input)); }
Foo() { mWhatever = new TWhat(); mFine = new TFine(); }
public MyController(IWhatever whatever) { this.whatever = whatever; }
public Sut(IWhatever b) { blabla = b; }
public string Execute (IWhatever whatever) { return whatever.Execute (); }
public Foo(IWhatever whatever, IFine fine) { Whatever = whatever; Fine = fine; }
public _IRunnable_29(ByRef ran, IWhatever whatever) { this.ran = ran; this.whatever = whatever; }
public _IEnvironment_23(IWhatever whatever) { this.whatever = whatever; }
public _IRunnable_53(IWhatever whatever, IEnvironment environment2 ) { this.whatever = whatever; this.environment2 = environment2; }
public void DoStuff(IWhatever whatever) { // Do stuff here with implementations of // IWhatever }