@@ -0,0 +1,1175 @@
+/**%0A * This source file is subject to the license that is bundled with this package in the file LICENSE.%0A */%0Apackage com.codeup.movies.console;%0A%0Aimport com.codeup.console.Console;%0Aimport com.codeup.validation.NonEmptyString;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.Mock;%0Aimport org.mockito.runners.MockitoJUnitRunner;%0A%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.junit.Assert.*;%0Aimport static org.mockito.Matchers.any;%0Aimport static org.mockito.Matchers.anyString;%0Aimport static org.mockito.Mockito.when;%0A%0A@RunWith(MockitoJUnitRunner.class)%0Apublic class CategoriesConsoleTest %7B%0A%0A    @Test%0A    public void it_accepts_a_valid_category_name() %7B%0A        String categoryName = %22action%22;%0A        when(console.promptForText(anyString(), any(NonEmptyString.class)))%0A            .thenReturn(categoryName)%0A        ;%0A        assertThat(categoriesConsole.askForCategoryName(), is(categoryName));%0A    %7D%0A%0A    @Before%0A    public void configureConsole() %7B%0A        categoriesConsole = new CategoriesConsole(console);%0A    %7D%0A%0A    @Mock%0A    private Console console;%0A    private CategoriesConsole categoriesConsole;%0A%7D%0A

Add test for CategoriesConsole.