Skip to content

Commit 87e44e4

Browse files
committed
TransactionParticipantServiceImplTest: use single quotes in method names.
No code changes.
1 parent 525bf72 commit 87e44e4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/groovy/ru/mystamps/web/service/TransactionParticipantServiceImplTest.groovy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ class TransactionParticipantServiceImplTest extends Specification {
3939
// Tests for add()
4040
//
4141

42-
def "add() should throw exception if dto is null"() {
42+
def 'add() should throw exception if dto is null'() {
4343
when:
4444
service.add(null)
4545
then:
4646
thrown IllegalArgumentException
4747
}
4848

49-
def "add() should throw exception if name is null"() {
49+
def 'add() should throw exception if name is null'() {
5050
given:
5151
AddParticipantForm form = new AddParticipantForm()
5252
form.setName(null)
@@ -57,7 +57,7 @@ class TransactionParticipantServiceImplTest extends Specification {
5757
}
5858

5959
@SuppressWarnings(['ClosureAsLastMethodParameter', 'UnnecessaryReturnKeyword'])
60-
def "add() should create participant"() {
60+
def 'add() should create participant'() {
6161
given:
6262
String expectedName = 'test'
6363
String expectedUrl = 'http://example.org'
@@ -79,7 +79,7 @@ class TransactionParticipantServiceImplTest extends Specification {
7979
// Tests for findAllBuyers()
8080
//
8181

82-
def "findAllBuyers() should call dao and return result"() {
82+
def 'findAllBuyers() should call dao and return result'() {
8383
given:
8484
List<EntityWithIdDto> expectedResult = [ TestObjects.createEntityWithIdDto() ]
8585
when:
@@ -94,7 +94,7 @@ class TransactionParticipantServiceImplTest extends Specification {
9494
// Tests for findAllSellers()
9595
//
9696

97-
def "findAllSellers() should call dao and return result"() {
97+
def 'findAllSellers() should call dao and return result'() {
9898
given:
9999
List<EntityWithIdDto> expectedResult = [ TestObjects.createEntityWithIdDto() ]
100100
when:

0 commit comments

Comments
 (0)