@Test public void testGetStatements1() { Block b1 = sample1(); List<Statement> stmts = b1.getStatements(); assertTrue("Incorrect number of statements in the Block", (stmts.size() == 4)); }
public List<Statement> getStatements() { return statements; }
Block extends Statement implements Labeled { public List<Statement> getStatements() { return statements; } }
Block extends Statement implements Labeled { public List<Statement> getStatements() { return statements; } Block();  Block(Statement statement); }
Block extends Statement implements Labeled { public List<Statement> getStatements() { return statements; } Block();  Block(Statement statement); String getLabel(); void setLabel(String label); List<Statement> getStatements(); void setStatements(List<Statement> statements); void addStatement(Statement statement); void addStatement(Statement statement, boolean exception); void acceptVisitor(LanguageVisitor visitor); Block clone(); boolean equals(Object obj); int hashCode(); String toString(); boolean isAtomic(); void setAtomic(boolean atomic); @Override int getType(); String getExceptionGroup(); void setExceptionGroup(String exceptionGroup); List<Statement> getExceptionStatements(); void setExceptionStatements(List<Statement> exceptionStatements); }
Block extends Statement implements Labeled { public List<Statement> getStatements() { return statements; } Block();  Block(Statement statement); String getLabel(); void setLabel(String label); List<Statement> getStatements(); void setStatements(List<Statement> statements); void addStatement(Statement statement); void addStatement(Statement statement, boolean exception); void acceptVisitor(LanguageVisitor visitor); Block clone(); boolean equals(Object obj); int hashCode(); String toString(); boolean isAtomic(); void setAtomic(boolean atomic); @Override int getType(); String getExceptionGroup(); void setExceptionGroup(String exceptionGroup); List<Statement> getExceptionStatements(); void setExceptionStatements(List<Statement> exceptionStatements);  }