public void VerifyImplementations(IWhatever thing)
        {
            int input  = 42;
            int result = thing.DoSomething(input);

            Assert.That(result, Is.EqualTo(input));
        }
Esempio n. 2
0
 Foo()
 {
     mWhatever = new TWhat();
     mFine     = new TFine();
 }
 public MyController(IWhatever whatever)
 {
     this.whatever = whatever;
 }
 public Sut(IWhatever b)
 {
     blabla = b;
 }
Esempio n. 5
0
File: server.cs Progetto: mono/gert
	public string Execute (IWhatever whatever)
	{
		return whatever.Execute ();
	}
 public Foo(IWhatever whatever, IFine fine)
 {
     Whatever = whatever;
     Fine     = fine;
 }
Esempio n. 7
0
 public _IRunnable_29(ByRef ran, IWhatever whatever)
 {
     this.ran      = ran;
     this.whatever = whatever;
 }
Esempio n. 8
0
 public _IEnvironment_23(IWhatever whatever)
 {
     this.whatever = whatever;
 }
Esempio n. 9
0
 public _IRunnable_53(IWhatever whatever, IEnvironment environment2
                      )
 {
     this.whatever     = whatever;
     this.environment2 = environment2;
 }
Esempio n. 10
0
 public void DoStuff(IWhatever whatever)
 {
     // Do stuff here with implementations of
     // IWhatever
 }
Esempio n. 11
0
 public _IRunnable_29(ByRef ran, IWhatever whatever)
 {
     this.ran = ran;
     this.whatever = whatever;
 }
Esempio n. 12
0
 public _IEnvironment_23(IWhatever whatever)
 {
     this.whatever = whatever;
 }
Esempio n. 13
0
 public _IRunnable_53(IWhatever whatever, IEnvironment environment2
     )
 {
     this.whatever = whatever;
     this.environment2 = environment2;
 }