void AssetTest(MySqlConnection connection)
    {
        List <Asset> assets = new List <Asset>();

        assets.Add(new Asset(2, 5, new DateTime(2014, 09, 25), 1));

        AssetDAO.InsertAssets(connection, assets);

        List <Asset> assets2 = AssetDAO.GetAssets(connection);

        assets2[1].Value = 888;

        AssetDAO.UpdateAssets(connection, assets2);

        assets2 = AssetDAO.GetAssets(connection);

        AssetDAO.DeleteAssets(connection, assets);

        assets2 = AssetDAO.GetAssets(connection);
    }