public void CallProcedureWithSizeAttributeLargerThanProcedure_ThrowsException() { // ARRANGE const string initialValue = @"123456789012345678901234567890"; var parameters = new TooLargeSizeAttributeParameters { Value1 = initialValue }; var procedure = new TooLargeSizeAttributeStoredProcedure(parameters); procedure.InitializeFromAttributes(); // ACT var results = Context.ExecuteStoredProcedure(procedure); var result = results.First(); // ASSERT Assert.Fail(); }