@SpecAssertions({
@SpecAssertion(section = "4.5.5", id = "a"),
@SpecAssertion(section = "4.5.5", id = "e")
})
public void testParameterMarkedAsCascadedInSubClassCausesException() throws Exception {
Object object = new SubClassMarkingParameterAsCascaded();
Method method = getCreateEventMethod( object );
Object[] parameterValues = new Object[3];
executableValidator.validateParameters( object, method, parameterValues );
fail( "Overriding subclass method must not mark a parameter cascaded. Expected exception wasn't thrown." );