ITestApiFalse Method |
var testApi = ctx.Use<ITestApi>(); var dataObject = new JObject() { { "Role", "Admin" }}; testApi.False(dataObject["Role"].ToObject<string>() == "Admin", "Role must contain admin");
Namespace: Casewhere.Runtime.DSL.Api
void False( bool condition, string reason )