Skip to content

Commit ba4c6d4

Browse files
author
Kevin Hellemun
committed
Changed method signature. (#41)
1 parent 43c811f commit ba4c6d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

BunqSdk.Tests/Model/Generated/Object/NotificationUrlTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)