src/test/java/systemtests/AddressBookSystemTest.java
protected void assertApplicationDisplaysExpected(String expectedCommandInput, String expectedResultMessage,
            Model expectedModel) {
        assertEquals(expectedCommandInput, getCommandBox().getInput());
        assertEquals(expectedResultMessage, getResultDisplay().getText());
        assertEquals(expectedModel, getModel());
        assertEquals(expectedModel.getAddressBook(), testApp.readStorageAddressBook());
        assertListMatching(getParcelListPanel(), expectedModel.getActiveList());
        assertListMatching(getDeliveredParcelListPanel(), expectedModel.getCompletedParcelList());
        assertListMatching(getUndeliveredParcelListPanel(), expectedModel.getUncompletedParcelList());
    }
/**
     * Asserts that the {@code CommandBox} displays {@code expectedCommandInput}, the {@code ResultDisplay} displays
     * {@code expectedResultMessage}, the model and storage contains the same parcel objects as {@code expectedModel}
     * and the parcel list panel displays the parcels in the model correctly.
     */
Asserts that the  CommandBox displays  expectedCommandInput, the  ResultDisplay displays
expectedResultMessage, the model and storage contains the same parcel objects as  expectedModel
and the parcel list panel displays the parcels in the model correctly.
Asserts that the CommandBox displays expectedCommandInput the ResultDisplay displays expectedResultMessage the model and storage contains the same parcel objects as expectedModel and the parcel list panel displays the parcels in the model correctly .
protected void assertApplicationDisplaysExpected(String expectedCommandInput, String expectedResultMessage,
            Model expectedModel) {
        assertEquals(expectedCommandInput, getCommandBox().getInput());
        assertEquals(expectedResultMessage, getResultDisplay().getText());
        assertEquals(expectedModel, getModel());
        assertEquals(expectedModel.getAddressBook(), testApp.readStorageAddressBook());
        assertListMatching(getParcelListPanel(), expectedModel.getActiveList());
        assertListMatching(getDeliveredParcelListPanel(), expectedModel.getCompletedParcelList());
        assertListMatching(getUndeliveredParcelListPanel(), expectedModel.getUncompletedParcelList());
    }
protected void assertApplicationDisplaysExpected ( String expectedCommandInput , String expectedResultMessage , Model expectedModel ) { assertEquals ( expectedCommandInput , getCommandBox ( ) . getInput ( ) ) ; assertEquals ( expectedResultMessage , getResultDisplay ( ) . getText ( ) ) ; assertEquals ( expectedModel , getModel ( ) ) ; assertEquals ( expectedModel . getAddressBook ( ) , testApp . readStorageAddressBook ( ) ) ; assertListMatching ( getParcelListPanel ( ) , expectedModel . getActiveList ( ) ) ; assertListMatching ( getDeliveredParcelListPanel ( ) , expectedModel . getCompletedParcelList ( ) ) ; assertListMatching ( getUndeliveredParcelListPanel ( ) , expectedModel . getUncompletedParcelList ( ) ) ; }
Asserts that the {@code CommandBox} displays {@code expectedCommandInput}, the {@code ResultDisplay} displays
 {@code expectedResultMessage}, the model and storage contains the same parcel objects as {@code expectedModel}
 and the parcel list panel displays the parcels in the model correctly.
Asserts that the { @code CommandBox } displays { @code expectedCommandInput } the { @code ResultDisplay } displays { @code expectedResultMessage } the model and storage contains the same parcel objects as { @code expectedModel } and the parcel list panel displays the parcels in the model correctly .