@@ -14,61 +14,61 @@ public class WhenGeneratingVariableNames
1414 [ Fact ]
1515 public void ShouldNameAVariableForAnArrayType ( )
1616 {
17- typeof ( Box [ ] ) . GetVariableNameInCamelCase ( ) . ShouldBe ( "boxArray" ) ;
17+ typeof ( Box [ ] ) . GetVariableNameInCamelCase ( new TranslationSettings ( ) ) . ShouldBe ( "boxArray" ) ;
1818 }
1919
2020 [ Fact ]
2121 public void ShouldNameAVariableForACollectionTypeEndingInX ( )
2222 {
23- typeof ( ICollection < Box > ) . GetVariableNameInCamelCase ( ) . ShouldBe ( "boxes" ) ;
23+ typeof ( ICollection < Box > ) . GetVariableNameInCamelCase ( new TranslationSettings ( ) ) . ShouldBe ( "boxes" ) ;
2424 }
2525
2626 [ Fact ]
2727 public void ShouldNameAVariableForAnEnumerableTypeEndingInZ ( )
2828 {
29- typeof ( IEnumerable < Fuzz > ) . GetVariableNameInPascalCase ( ) . ShouldBe ( "Fuzzes" ) ;
29+ typeof ( IEnumerable < Fuzz > ) . GetVariableNameInPascalCase ( new TranslationSettings ( ) ) . ShouldBe ( "Fuzzes" ) ;
3030 }
3131
3232 [ Fact ]
3333 public void ShouldNameAVariableForAnEnumerableTypeEndingInDoubleS ( )
3434 {
35- typeof ( IEnumerable < Glass > ) . GetVariableNameInPascalCase ( ) . ShouldBe ( "Glasses" ) ;
35+ typeof ( IEnumerable < Glass > ) . GetVariableNameInPascalCase ( new TranslationSettings ( ) ) . ShouldBe ( "Glasses" ) ;
3636 }
3737
3838 [ Fact ]
3939 public void ShouldNameAVariableForAListTypeEndingInCh ( )
4040 {
41- typeof ( List < Church > ) . GetVariableNameInCamelCase ( ) . ShouldBe ( "churches" ) ;
41+ typeof ( List < Church > ) . GetVariableNameInCamelCase ( new TranslationSettings ( ) ) . ShouldBe ( "churches" ) ;
4242 }
4343
4444 [ Fact ]
4545 public void ShouldNameAVariableForAListTypeEndingInSh ( )
4646 {
47- typeof ( List < Hush > ) . GetVariableNameInCamelCase ( ) . ShouldBe ( "hushes" ) ;
47+ typeof ( List < Hush > ) . GetVariableNameInCamelCase ( new TranslationSettings ( ) ) . ShouldBe ( "hushes" ) ;
4848 }
4949
5050 [ Fact ]
5151 public void ShouldNameAVariableForAListTypeEndingInVowelY ( )
5252 {
53- typeof ( List < Journey > ) . GetVariableNameInCamelCase ( ) . ShouldBe ( "journeys" ) ;
53+ typeof ( List < Journey > ) . GetVariableNameInCamelCase ( new TranslationSettings ( ) ) . ShouldBe ( "journeys" ) ;
5454 }
5555
5656 [ Fact ]
5757 public void ShouldNameAVariableForAnIListTypeEndingInConsonantY ( )
5858 {
59- typeof ( IList < Body > ) . GetVariableNameInPascalCase ( ) . ShouldBe ( "Bodies" ) ;
59+ typeof ( IList < Body > ) . GetVariableNameInPascalCase ( new TranslationSettings ( ) ) . ShouldBe ( "Bodies" ) ;
6060 }
6161
6262 [ Fact ]
6363 public void ShouldNameANullableLongVariable ( )
6464 {
65- typeof ( long ? ) . GetVariableNameInCamelCase ( ) . ShouldBe ( "nullableLong" ) ;
65+ typeof ( long ? ) . GetVariableNameInCamelCase ( new TranslationSettings ( ) ) . ShouldBe ( "nullableLong" ) ;
6666 }
6767
6868 [ Fact ]
6969 public void ShouldNameAnArrayOfArraysVariable ( )
7070 {
71- typeof ( int ? [ ] [ ] ) . GetVariableNameInCamelCase ( ) . ShouldBe ( "nullableIntArrayArray" ) ;
71+ typeof ( int ? [ ] [ ] ) . GetVariableNameInCamelCase ( new TranslationSettings ( ) ) . ShouldBe ( "nullableIntArrayArray" ) ;
7272 }
7373
7474 // ReSharper disable ClassNeverInstantiated.Local
0 commit comments