-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from mwarzybok-sumoheavy/feature/SP-883
SP-883 Fix class name InvoiceRefundAddresses to InvoiceRefundAddress
- Loading branch information
Showing
4 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,12 @@ | |
import org.junit.jupiter.api.Assertions; | ||
import org.junit.jupiter.api.Test; | ||
|
||
public class InvoiceRefundAddressesTest { | ||
public class InvoiceRefundAddressTest { | ||
|
||
@Test | ||
public void it_should_manipulate_type() { | ||
String expected = "exampleType"; | ||
InvoiceRefundAddresses testedClass = this.getTestedClass(); | ||
InvoiceRefundAddress testedClass = this.getTestedClass(); | ||
|
||
testedClass.setType(expected); | ||
Assertions.assertSame(expected, testedClass.getType()); | ||
|
@@ -23,7 +23,7 @@ public void it_should_manipulate_type() { | |
@Test | ||
public void it_should_manipulate_date() { | ||
ZonedDateTime expected = ZonedDateTime.now(); | ||
InvoiceRefundAddresses testedClass = this.getTestedClass(); | ||
InvoiceRefundAddress testedClass = this.getTestedClass(); | ||
|
||
testedClass.setDate(expected); | ||
Assertions.assertSame(expected, testedClass.getDate()); | ||
|
@@ -32,7 +32,7 @@ public void it_should_manipulate_date() { | |
@Test | ||
public void it_should_manipulate_tag() { | ||
Integer expected = 123; | ||
InvoiceRefundAddresses testedClass = this.getTestedClass(); | ||
InvoiceRefundAddress testedClass = this.getTestedClass(); | ||
|
||
testedClass.setTag(expected); | ||
Assertions.assertSame(expected, testedClass.getTag()); | ||
|
@@ -41,13 +41,13 @@ public void it_should_manipulate_tag() { | |
@Test | ||
public void it_should_manipulate_email() { | ||
String expected = "[email protected]"; | ||
InvoiceRefundAddresses testedClass = this.getTestedClass(); | ||
InvoiceRefundAddress testedClass = this.getTestedClass(); | ||
|
||
testedClass.setEmail(expected); | ||
Assertions.assertSame(expected, testedClass.getEmail()); | ||
} | ||
|
||
private InvoiceRefundAddresses getTestedClass() { | ||
return new InvoiceRefundAddresses(); | ||
private InvoiceRefundAddress getTestedClass() { | ||
return new InvoiceRefundAddress(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters