public void ValidateTemplateFieldNamesAreNovel_WhenThereAreFieldsWithIdenticalNames_ReturnFalse([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata template, IReadOnlyDictionary <Guid, TemplateCodeGenerationMetadata> allTemplatesIndex) { sut.Public_ValidateTemplateFieldNamesAreNovel(template, allTemplatesIndex).Should().BeFalse(); }
public void ValidateTemplateHasNoFieldsIdenticalToTemplateName_WhenItDoesnt_ReturnTrue([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata template) { sut.Public_ValidateTemplateHasNoFieldsIdenticalToTemplateName(template).Should().BeTrue(); }
public void ValidateTemplateHasNoFieldsIdenticalToTemplateName_WhenItDoes_ReturnFalse([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata template) { sut.ForceFieldNameToMatchTemplateName = true; sut.Public_ValidateTemplateHasNoFieldsIdenticalToTemplateName(template).Should().BeFalse(); }
public void ValidateTemplateNamesAreNovel_WhenThereAreNoDuplicateTemplateNames_ReturnTrue([Greedy] TestableStandardArchitectureValidator sut, TemplateCodeGenerationMetadata[] allTemplates) { sut.Public_ValidateTemplateNamesAreNovel(allTemplates).Should().BeTrue(); }