src/test/java/seedu/address/storage/JsonMyFitnessBuddyStorageTest.java
/**
     * Saves {@code addressBook} at the specified {@code filePath}.
     */
Saves  addressBook at the specified  filePath.
Saves addressBook at the specified filePath .
private void saveMyFitnessBuddy(ReadOnlyMyFitnessBuddy addressBook, String filePath) {
        try {
            new JsonMyFitnessBuddyStorage(Paths.get(filePath))
                    .saveFitnessBuddy(addressBook, addToTestDataPathIfNotNull(filePath));
        } catch (IOException ioe) {
            throw new AssertionError("There should not be an error writing to the file.", ioe);
        }
    }
private void saveMyFitnessBuddy ( ReadOnlyMyFitnessBuddy addressBook , String filePath ) { try { new JsonMyFitnessBuddyStorage ( Paths . get ( filePath ) ) . saveFitnessBuddy ( addressBook , addToTestDataPathIfNotNull ( filePath ) ) ; } catch ( IOException ioe ) { throw new AssertionError ( "There should not be an error writing to the file." , ioe ) ; } }
Saves {@code addressBook} at the specified {@code filePath}.
Saves { @code addressBook } at the specified { @code filePath } .