package com.twu.biblioteca;

import com.twu.biblioteca.views.BibliotecaAppView;
import com.twu.biblioteca.views.BooksView;
import com.twu.biblioteca.views.MenuView;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.runners.MockitoJUnitRunner;

@RunWith(MockitoJUnitRunner.class)
public class BibliotecaAppTest {
    @Mock
    private BibliotecaAppView mockBibliotecaAppView;
    @Mock
    private BooksView mockBooksView;
    @Mock
    private MenuView mockMenuView;

    @Test
    public void shouldInvokeMethodsOnBibliotecaAppViewBooksViewAndMenuView() throws Exception {
        BibliotecaApp bibliotecaApp = new BibliotecaApp(mockBibliotecaAppView, mockBooksView, mockMenuView);
        bibliotecaApp.start();

        Mockito.verify(mockBibliotecaAppView).display("***Welcome to Biblioteca***");
        Mockito.verify(mockMenuView).display();
    }
}
@@ -537,16 +537,92 @@
 enuView;
+%0A    @Mock%0A    private Books mockBooks;%0A    @Mock%0A    private Menu mockMenu;
 %0A%0A    @T
@@ -827,16 +827,37 @@
 MenuView
+, mockBooks, mockMenu
 );%0A     

Fix - added two missing parameters to the constructor