src/test/java/seedu/address/testutil/TeacherBuilder.java
public TeacherBuilder withLevel(String level) {
        level = level.trim().toUpperCase();
        if (level.equals("TEACHER")) {
            this.level = Staff.Level.TEACHER;
        } else if (level.equals("ADMIN")) {
            this.level = Staff.Level.ADMIN;
        }
        return this;
    }
/**
     * Sets the {@code Level} of the {@code Staff} that we are building.
     */
Sets the  Level of the  Staff that we are building.
Sets the Level of the Staff that we are building .
public TeacherBuilder withLevel(String level) {
        level = level.trim().toUpperCase();
        if (level.equals("TEACHER")) {
            this.level = Staff.Level.TEACHER;
        } else if (level.equals("ADMIN")) {
            this.level = Staff.Level.ADMIN;
        }
        return this;
    }
public TeacherBuilder withLevel ( String level ) { level = level . trim ( ) . toUpperCase ( ) ; if ( level . equals ( "TEACHER" ) ) { this . level = Staff . Level . TEACHER ; } else if ( level . equals ( "ADMIN" ) ) { this . level = Staff . Level . ADMIN ; } return this ; }
Sets the {@code Level} of the {@code Staff} that we are building.
Sets the { @code Level } of the { @code Staff } that we are building .