Example #1
0
    public void check_get_current_info_with_exception_case(String campaign, String infoCampaign)
    {
        PoolManager poolManager = new PoolManager();

        String[] sCamp         = campaign.Split(" ");
        String[] sInfoCampaign = infoCampaign.Split(" ");
        Campaign campaignTemp  = new Campaign(sCamp[1], sCamp[2],
                                              Double.Parse(sCamp[3]), Double.Parse(sCamp[4]), Double.Parse(sCamp[5]));

        Assert.Throws <Exception>(() => campaignController.getCurrentInfo(sInfoCampaign, poolManager));
    }