@@ -126,8 +126,7 @@ public void Ensure_Can_Be_Constructed_With_Whitespace_Only_ShortName_And_Valid_L
126
126
}
127
127
128
128
[ Test ]
129
- [ ExpectedException ( typeof ( ArgumentOutOfRangeException ) ) ]
130
- public void Ensure_Cannot_Be_Constructed_With_Null_ShortName_And_Null_LongName ( )
129
+ public void Ensure_Can_Be_Constructed_With_Null_ShortName_And_Null_LongName ( )
131
130
{
132
131
const string invalidShortName = null ;
133
132
const string invalidLongName = null ;
@@ -138,8 +137,7 @@ public void Ensure_Cannot_Be_Constructed_With_Null_ShortName_And_Null_LongName()
138
137
}
139
138
140
139
[ Test ]
141
- [ ExpectedException ( typeof ( ArgumentOutOfRangeException ) ) ]
142
- public void Ensure_Cannot_Be_Constructed_With_Empty_ShortName_And_Null_LongName ( )
140
+ public void Ensure_Can_Be_Constructed_With_Empty_ShortName_And_Null_LongName ( )
143
141
{
144
142
const string invalidShortName = "" ;
145
143
const string invalidLongName = null ;
@@ -150,8 +148,7 @@ public void Ensure_Cannot_Be_Constructed_With_Empty_ShortName_And_Null_LongName(
150
148
}
151
149
152
150
[ Test ]
153
- [ ExpectedException ( typeof ( ArgumentOutOfRangeException ) ) ]
154
- public void Ensure_Cannot_Be_Constructed_With_WhiteSpaceOnly_ShortName_And_Null_LongName ( )
151
+ public void Ensure_Can_Be_Constructed_With_WhiteSpaceOnly_ShortName_And_Null_LongName ( )
155
152
{
156
153
const string invalidShortName = " " ;
157
154
const string invalidLongName = null ;
@@ -217,8 +214,7 @@ public void Ensure_Can_Be_Constructed_With_Empty_ShortName_And_WhiteSpaceOnly_Lo
217
214
}
218
215
219
216
[ Test ]
220
- [ ExpectedException ( typeof ( ArgumentOutOfRangeException ) ) ]
221
- public void Ensure_Cannot_Be_Constructed_With_WhiteSpaceOnly_ShortName_And_WhiteSpaceOnly_LongName ( )
217
+ public void Ensure_Canot_Be_Constructed_With_WhiteSpaceOnly_ShortName_And_WhiteSpaceOnly_LongName ( )
222
218
{
223
219
const string invalidShortName = " " ;
224
220
const string invalidLongName = " " ;
0 commit comments