package com.twu.biblioteca;

import com.twu.biblioteca.menu.MainMenu;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class BibliotecaApp {

    private static MainMenu menu = MainMenu.instance;

    public static boolean testing = false; //Used to prevent infinite loop during unit tests

    public static void main(String[] args) {
        displayWelcomeMessage();
        menu.loop();
    }

    public static String readLine() throws IOException {
        return new BufferedReader(new InputStreamReader(System.in)).readLine();
    }


    private static void displayWelcomeMessage() {
        print("Welcome to Biblioteca.\n");
    }


    public static void print(String str) {
        System.out.print(str);
    }

    public static void setTesting(boolean testing) {
        BibliotecaApp.testing = testing;
    }
}
@@ -200,23 +200,16 @@
 private 
-static 
 MainMenu
@@ -235,16 +235,16 @@
 stance;%0A
+
 %0A    pub
@@ -371,24 +371,124 @@
 g%5B%5D args) %7B%0A
+        BibliotecaApp app = new BibliotecaApp();%0A        app.run();%0A    %7D%0A%0A    private void run() %7B%0A
         disp
@@ -677,24 +677,24 @@
 ();%0A    %7D%0A%0A%0A
+
     private 
@@ -693,23 +693,16 @@
 private 
-static 
 void dis

Make Biblioteca methods non static