BATCH-1011: tidy up FlowExecutionStatus name access

This commit is contained in:
dsyer
2009-02-18 19:10:13 +00:00
parent fd67b7f381
commit cb0955ad1b
5 changed files with 41 additions and 28 deletions

View File

@@ -31,7 +31,7 @@ public class FlowExecutionTests {
public void testBasicProperties() throws Exception {
FlowExecution execution = new FlowExecution("foo", new FlowExecutionStatus("BAR"));
assertEquals("foo",execution.getName());
assertEquals("BAR",execution.getStatus().getStatus());
assertEquals("BAR",execution.getStatus().getName());
}
@Test