src/test/java/seedu/address/logic/commands/CommandTestUtil.java
public static void showFirstParcelOnly(Model model) {
        ReadOnlyParcel parcel = model.getActiveList().get(0);
        final String[] splitName = parcel.getName().fullName.split("\\s+");
        model.updateFilteredParcelList(new NameContainsKeywordsPredicate(Arrays.asList(splitName[0])));

        assert model.getFilteredParcelList().size() == 1;
    }
/**
     * Updates {@code model}'s filtered list to show only the first parcel in the {@code model}'s address book.
     */
Updates  model's filtered list to show only the first parcel in the  model's address book.
Updates model ' s filtered list to show only the first parcel in the model ' s address book .
public static void showFirstParcelOnly(Model model) {
        ReadOnlyParcel parcel = model.getActiveList().get(0);
        final String[] splitName = parcel.getName().fullName.split("\\s+");
        model.updateFilteredParcelList(new NameContainsKeywordsPredicate(Arrays.asList(splitName[0])));
        assert model.getFilteredParcelList().size() == 1;
    }
public static void showFirstParcelOnly ( Model model ) { ReadOnlyParcel parcel = model . getActiveList ( ) . get ( 0 ) ; final String [ ] splitName = parcel . getName ( ) . fullName . split ( "\\s+" ) ; model . updateFilteredParcelList ( new NameContainsKeywordsPredicate ( Arrays . asList ( splitName [ 0 ] ) ) ) ; assert model . getFilteredParcelList ( ) . size ( ) == 1 ; }
Updates {@code model}'s filtered list to show only the first parcel in the {@code model}'s address book.
Updates { @code model } ' s filtered list to show only the first parcel in the { @code model } ' s address book .