public void TestWarnings()
        {
            Hauptansicht appObject = new Hauptansicht();
              Simulator simulator = new Simulator();
              List<Notfalldusche> showers = simulator.getAllShowers();
              Notfalldusche shower1 = showers[0];
              Notfalldusche shower2 = showers[1];
              Warning expectedWarning = new Warning(shower1, Warning.Type.Flowrate);

              appObject.addWarning(new Warning(shower1, Warning.Type.Flowrate));

              // Test ob hasWarnings korrekt prüft ob eine Dusche bereits gewarnt hat
            // Gleiche Dusche
              Assert.AreEqual(true, appObject.hasWarnings(shower1));
            // Andere Dusche
              Assert.AreEqual(false, appObject.hasWarnings(shower2));
        }