package com.greensnow25.start;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by Mama on 27.01.2017.
 */
public class StubInputTest {

    @Test(expected = MenuOutExeption.class)
    public void whenTrowExeptionThenReturnLine() throws MenuOutExeption {
        StubInput stubInput = new StubInput(new String[]{"1"});
        int[] range = new int[]{0,2,6};

        stubInput.ask("1", range);

    }

}
@@ -95,35 +95,89 @@
 %0A * 
-Created by Mama on
+test class trow exeption.%0A *%0A * @author grensow25%0A * @version 1.%0A * @since
  27.01.
-20
 17.%0A
@@ -430,10 +430,12 @@
 %5D%7B0,
+ 
 2,
+ 
 6%7D;%0A

Update date 27.01.17