/** * Run the Project getDependingProject(Model) method test. * * @throws Exception if one of the used methods fails */ @Test public void testGetDependingProject3() throws Exception { @SuppressWarnings({"rawtypes", "unchecked"}) final ListFieldRemoveValueCommand fixture = new ListFieldIdentifiableObjectRemoveValueCommand(this.listField, this.per1, this.t6); final Project result = fixture.getDependingProject(this.model); Assert.assertNotNull(result); }
/** * Run the Project getDependingProject(Model) method test. * * @throws Exception if one of the used methods fails */ @Test(expected = NoObjectFindException.class) public void testGetDependingProject2() throws Exception { @SuppressWarnings({"rawtypes", "unchecked"}) final ListFieldRemoveValueCommand fixture = new ListFieldIdentifiableObjectRemoveValueCommand(this.listField, this.sprint, this.pbi3); final Model model1 = new Model(new Date()); final Project result = fixture.getDependingProject(model1); Assert.assertNotNull(result); }