public void Test_GetPlayerName_WithInvalidValue_EmptyString()
 {
     string[] input = new string[] { String.Empty, ValidPlayerNameInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreNotEqual("", inputProvider.GetPlayerName());
 }
 public void Test_GetPlayerName_WithInvalidValue_NotWordCharacterAtTheBegining()
 {
     string[] input = new string[] { "!@~tea", ValidPlayerNameInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreNotEqual("!@~tea", inputProvider.GetPlayerName());
 }
 public void Test_GetFieldSize_WithValidValue_Five()
 {
     string[] input = new string[] { ValidFieldSizeInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreEqual(int.Parse(ValidFieldSizeInput), inputProvider.GetFieldSize());
 }
 public void Test_GetFieldSize_WithValidValue_LowerBoundry_One()
 {
     string[] input = new string[] { "1" };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreEqual(1, inputProvider.GetFieldSize());
 }
 public void Test_GetFieldSize_WithInvalidValue_Zero()
 {
     string[] input = new string[] { "0", ValidFieldSizeInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreNotEqual(0, inputProvider.GetFieldSize());
 }
 public void Test_GetFieldSize_WithInvalidValue_BiggerThanDouble()
 {
     string[] input = new string[] { "68.7831111111111111111111111111", ValidFieldSizeInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreNotEqual(68.7831111111111111111111111111, inputProvider.GetFieldSize());
 }
 public void Test_GetPlayerName_WithValidValue()
 {
     string[] input = new string[] { ValidPlayerNameInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreEqual(ValidPlayerNameInput, inputProvider.GetPlayerName());
 }
 public void Test_GetPlayerName_WithInvalidValue_OnlySpecialSymbols()
 {
     string[] input = new string[] { "~!@#$%^&*()_+", ValidPlayerNameInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreNotEqual("~!@#$%^&*()_+", inputProvider.GetPlayerName());
 }
 public void Test_GetPlayerName_WithInvalidValue_NotWordCharacterInTheMiddle()
 {
     string[] input = new string[] { "te&*(a", ValidPlayerNameInput };
     var inputProvider = new ConsoleInputProviderMock(input);
     Assert.AreNotEqual("te&*(a", inputProvider.GetPlayerName());
 }