Test
def test_generateCashFlowStmt
get :getDateRangeForCashFlowStmt
xhr :post,
:generate_cash_flow_stmt,
{:fromDate => {:year=>"2009", :month => "3", :day=>"1"},
:toDate => {:year=>"2009", :month => "3", :day=>"31"} }
table = [ .... ]
assert_equal table, formatCashFlowStatementAsTable( assigns(:cashFlowStmt))
assert_tag :tag => "div", :children => {:count => 1, :only => {:tag=>"table"} }
end
def test_generateCashFlowStmt
get :g