File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
BunqSdk.Tests/Model/Generated/Object Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,15 @@ public class NotificationUrlTest : BunqSdkTestBase
6666 private void ExecuteNotificationUrlTest (
6767 string expectedJsonFileName ,
6868 Type classNameExpected ,
69- string referencedObjectGetterName )
70- {
69+ string referencedObjectPropertyName
70+ ) {
7171 var jsonString = ReadJsonFromFile ( expectedJsonFileName ) ;
72- var notificationUrl = BunqModel . FromJsonString < NotificationUrl > ( jsonString ) ;
72+ var notificationUrl = BunqModel . CreateFromJsonString < NotificationUrl > ( jsonString ) ;
7373
7474 Assert . NotNull ( notificationUrl ) ;
7575 Assert . NotNull ( notificationUrl . Object ) ;
7676
77- var model = notificationUrl . Object . GetType ( ) . GetProperty ( referencedObjectGetterName ) . GetValue (
77+ var model = notificationUrl . Object . GetType ( ) . GetProperty ( referencedObjectPropertyName ) . GetValue (
7878 notificationUrl . Object ) ;
7979 var referencedModel = notificationUrl . Object . GetReferencedObject ( ) ;
8080
You can’t perform that action at this time.
0 commit comments