public void GetInputMethodShouldReadFromConsole() { var consoleInputProvider = new ConsoleInputProvider(); consoleInputProvider.GetInput(); Assert.AreEqual(consoleInputProvider.Command, "this is a Test reading from console test."); }
public void ConsoleInputProviderShouldNotBeNullWhenInstantiated() { var consoleInputProvider = new ConsoleInputProvider(); Assert.IsNotNull(consoleInputProvider); }
public void CommandPropertyShouldBeNullOnCreation() { var consoleInputProvider = new ConsoleInputProvider(); Assert.IsNull(consoleInputProvider.Command); }