01: package org.springunit.examples.errors;
02:
03: import org.springunit.framework.SpringUnitContext;
04: import org.springunit.framework.SpringUnitTest;
05:
06: public class IncorrectNameOfTestInXmlTest extends SpringUnitTest {
07:
08: public void testOne() throws Exception {
09: String str = getObject("str");
10: String expected = getObject("expected");
11: assertTrue(expected.equals(str));
12: }
13:
14: public SpringUnitContext getIncorrectNameOfTestInXmlTest() {
15: return incorrectNameOfTestInXmlTest;
16: }
17:
18: public void setIncorrectNameOfTestInXmlTest(
19: SpringUnitContext incorrectNameOfTestInXmlTest) {
20: this .incorrectNameOfTestInXmlTest = incorrectNameOfTestInXmlTest;
21: }
22:
23: private SpringUnitContext incorrectNameOfTestInXmlTest;
24:
25: }
|