Esempio n. 1
0
 public void testOutputViaOutputStringWithNoInputString()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(string.Empty, this.mockObject.OutputString);
 }
Esempio n. 2
0
 public void testOutputViaTransformWithArgsEmptyInput()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(string.Empty, this.mockObject.Transform(""));
 }
Esempio n. 3
0
 public void testOutputViaOutputString()
 {
     this.mockObject = new mockTextTransformer(this.mockBot, this.inputString);
     Assert.AreEqual(this.outputString, this.mockObject.OutputString);
 }
Esempio n. 4
0
 public void testInputAttributeChangesProperly()
 {
     this.mockObject             = new mockTextTransformer(this.mockBot, this.inputString);
     this.mockObject.InputString = "Testing123";
     Assert.AreEqual("Testing123", this.mockObject.InputString);
 }
Esempio n. 5
0
 public void testOutputViaTransformWithArgs()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(this.outputString, this.mockObject.Transform(this.inputString));
 }
Esempio n. 6
0
 public void testTextTransformerWithDefaultCtor()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(string.Empty, this.mockObject.InputString);
 }
Esempio n. 7
0
 public void testTextTransformerWithInputPassedToCtor()
 {
     this.mockObject = new mockTextTransformer(this.mockBot, this.inputString);
     Assert.AreEqual(this.inputString, this.mockObject.InputString);
 }
Esempio n. 8
0
 public void testOutputViaOutputString()
 {
     this.mockObject = new mockTextTransformer(this.mockBot,this.inputString);
     Assert.AreEqual(this.outputString, this.mockObject.OutputString);
 }
Esempio n. 9
0
 public void testOutputViaOutputStringWithNoInputString()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(string.Empty, this.mockObject.OutputString);
 }
Esempio n. 10
0
 public void testOutputViaTransformWithArgsEmptyInput()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(string.Empty,this.mockObject.Transform(""));
 }
Esempio n. 11
0
 public void testOutputViaTransformWithArgs()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(this.outputString, this.mockObject.Transform(this.inputString));
 }
Esempio n. 12
0
 public void testInputAttributeChangesProperly()
 {
     this.mockObject = new mockTextTransformer(this.mockBot,this.inputString);
     this.mockObject.InputString = "Testing123";
     Assert.AreEqual("Testing123", this.mockObject.InputString);
 }
Esempio n. 13
0
 public void testTextTransformerWithInputPassedToCtor()
 {
     this.mockObject = new mockTextTransformer(this.mockBot,this.inputString);
     Assert.AreEqual(this.inputString, this.mockObject.InputString);
 }
Esempio n. 14
0
 public void testTextTransformerWithDefaultCtor()
 {
     this.mockObject = new mockTextTransformer(this.mockBot);
     Assert.AreEqual(string.Empty, this.mockObject.InputString);
 }