}
@Test
@SpecAssertion(section = "6.7", id = "g")
public void testHasConstraintsForConstructor() {
ConstructorDescriptor parameterConstrainedDescriptor = Executables.parameterConstrainedConstructor();
assertFalse(
parameterConstrainedDescriptor.hasConstraints(),
"Should have no constraints"
);
ConstructorDescriptor returnValueConstrainedDescriptor = Executables.returnValueConstrainedConstructor();
assertFalse(
returnValueConstrainedDescriptor.hasConstraints(),
"Should have no constraints"
);
ConstructorDescriptor crossParameterConstrainedDescriptor = Executables.crossParameterConstrainedConstructor();
assertFalse(
crossParameterConstrainedDescriptor.hasConstraints(),
"Should have no constraints"
);
}