public void ToString_WhenConstraintPropertyNotOverridden_ShouldThrowNotImplemented() { var definition = new NoOverridesImportDefinition(); ExceptionAssert.Throws <NotImplementedException>(() => { definition.ToString(); }); }
public void Constraint_WhenNotOverridden_ShouldThrowNotImplemented() { var definition = new NoOverridesImportDefinition(); ExceptionAssert.Throws <NotImplementedException>(() => { var constraint = definition.Constraint; }); }
public void Constructor1_ShouldSetIsRecomposablePropertyToFalse() { var definition = new NoOverridesImportDefinition(); Assert.False(definition.IsRecomposable); }
public void Constructor1_ShouldSetIsPrerequisitePropertyToTrue() { var definition = new NoOverridesImportDefinition(); Assert.True(definition.IsPrerequisite); }
public void Constructor1_ShouldSetCardinalityPropertyToExactlyOne() { var definition = new NoOverridesImportDefinition(); Assert.Equal(ImportCardinality.ExactlyOne, definition.Cardinality); }
public void Constructor1_ShouldSetIsRecomposablePropertyToFalse() { var definition = new NoOverridesImportDefinition(); Assert.IsFalse(definition.IsRecomposable); }
public void Constructor1_ShouldSetIsPrerequisitePropertyToTrue() { var definition = new NoOverridesImportDefinition(); Assert.IsTrue(definition.IsPrerequisite); }
public void Constructor1_ShouldSetCardinalityPropertyToExactlyOne() { var definition = new NoOverridesImportDefinition(); Assert.AreEqual(ImportCardinality.ExactlyOne, definition.Cardinality); }
public void ToString_WhenConstraintPropertyNotOverridden_ShouldThrowNotImplemented() { var definition = new NoOverridesImportDefinition(); ExceptionAssert.Throws<NotImplementedException>(() => { definition.ToString(); }); }
public void Constraint_WhenNotOverridden_ShouldThrowNotImplemented() { var definition = new NoOverridesImportDefinition(); ExceptionAssert.Throws<NotImplementedException>(() => { var constraint = definition.Constraint; }); }