use of com.instructure.canvasapi2.models.RubricCriterion in project instructure-android by instructure.
the class AssignmentTest method hasRubric_TestTrue.
// endregion
@Test
public void hasRubric_TestTrue() {
Assignment assignment = new Assignment();
List<RubricCriterion> rubricCriterionList = new ArrayList<>();
rubricCriterionList.add(new RubricCriterion());
assignment.setRubric(rubricCriterionList);
assertEquals(true, assignment.hasRubric());
}
Aggregations