public void Test_NullBoolEvalsToFalse_27122(string test) { string typeName = Guid.NewGuid().ToString(); test = test.Replace("TestBool27122", typeName); EntityType type = new EntityType(); type.Name = typeName; type.Save(); Resource instance = Entity.Create(type.Id).As <Resource>(); instance.Name = "TestInstance"; instance.Save(); // Retrospectively add a bool field BoolField field = new BoolField(); field.Name = "BoolField"; type.Fields.Add(field.As <Field>()); type.Save(); TestHelper.Test(test); }