public void NoDataToAuthenTest() { //Just to cover the test coverage INoSqlContext ctx = new FirebaseNoSqlContext(); try { ctx.Authenticate("", "", "", ""); Assert.Fail("Exception should be thrown for failed authen !!!"); } catch { //Do nothing } }
public void NoDataToPostTest() { //Just to cover the test coverage INoSqlContext ctx = new FirebaseNoSqlContext(); try { ctx.PostData("", new String("HELLO")); Assert.Fail("Exception should be thrown for no authen ealier !!!"); } catch { //Do nothing } }
public FirebaseNoSqlContextTest() { ctx = new FirebaseNoSqlContext(); Authen(ctx); }