/** * Assert that the schema version is not assigned to the branch. * * @param version * schema version * @return fluent API */ public BranchAssert hasNotSchemaVersion(SchemaContainerVersion version) { assertThat(actual.contains(version)).as(descriptionText() + " has version").isFalse(); return this; }
/** * Assert that the schema version is assigned to the branch. * * @param version * schema version * @return fluent API */ public BranchAssert hasSchemaVersion(SchemaContainerVersion version) { assertThat(actual.contains(version)).as(descriptionText() + " has version").isTrue(); return this; }
/** * Assert that the schema is assigned (in any version) to the branch. * * @param schemaContainer * schema * @return fluent API */ public BranchAssert hasSchema(SchemaContainer schemaContainer) { assertThat(actual.contains(schemaContainer)).as(descriptionText() + " has schema").isTrue(); return this; }
/** * Assert that the microschema version is assigned to the branch. * * @param version * microschema version * @return fluent API */ public BranchAssert hasMicroschemaVersion(MicroschemaContainerVersion version) { assertThat(actual.contains(version)).as(descriptionText() + " has version").isTrue(); return this; }
/** * Assert that the microschema is not assigned (in any version) to the branch. * * @param microschemaContainer * microschema * @return fluent API */ public BranchAssert hasNotMicroschema(MicroschemaContainer microschemaContainer) { assertThat(actual.contains(microschemaContainer)).as(descriptionText() + " has schema").isFalse(); return this; }
/** * Assert that the schema is not assigned (in any version) to the branch. * * @param schemaContainer * schema * @return fluent API */ public BranchAssert hasNotSchema(SchemaContainer schemaContainer) { assertThat(actual.contains(schemaContainer)).as(descriptionText() + " has schema").isFalse(); return this; }
/** * Assert that the microschema version is not assigned to the branch. * * @param version * schema version * @return fluent API */ public BranchAssert hasNotMicroschemaVersion(MicroschemaContainerVersion version) { assertThat(actual.contains(version)).as(descriptionText() + " has version").isFalse(); return this; }
/** * Assert that the microschema is assigned (in any version) to the branch. * * @param microschemaContainer * microschema * @return fluent API */ public BranchAssert hasMicroschema(MicroschemaContainer microschemaContainer) { assertThat(actual.contains(microschemaContainer)).as(descriptionText() + " has schema").isTrue(); return this; }