@@ -39,14 +39,14 @@ class TransactionParticipantServiceImplTest extends Specification {
39
39
// Tests for add()
40
40
//
41
41
42
- def " add() should throw exception if dto is null" () {
42
+ def ' add() should throw exception if dto is null' () {
43
43
when :
44
44
service. add(null )
45
45
then :
46
46
thrown IllegalArgumentException
47
47
}
48
48
49
- def " add() should throw exception if name is null" () {
49
+ def ' add() should throw exception if name is null' () {
50
50
given :
51
51
AddParticipantForm form = new AddParticipantForm ()
52
52
form. setName(null )
@@ -57,7 +57,7 @@ class TransactionParticipantServiceImplTest extends Specification {
57
57
}
58
58
59
59
@SuppressWarnings ([' ClosureAsLastMethodParameter' , ' UnnecessaryReturnKeyword' ])
60
- def " add() should create participant" () {
60
+ def ' add() should create participant' () {
61
61
given :
62
62
String expectedName = ' test'
63
63
String expectedUrl = ' http://example.org'
@@ -79,7 +79,7 @@ class TransactionParticipantServiceImplTest extends Specification {
79
79
// Tests for findAllBuyers()
80
80
//
81
81
82
- def " findAllBuyers() should call dao and return result" () {
82
+ def ' findAllBuyers() should call dao and return result' () {
83
83
given :
84
84
List<EntityWithIdDto > expectedResult = [ TestObjects . createEntityWithIdDto() ]
85
85
when :
@@ -94,7 +94,7 @@ class TransactionParticipantServiceImplTest extends Specification {
94
94
// Tests for findAllSellers()
95
95
//
96
96
97
- def " findAllSellers() should call dao and return result" () {
97
+ def ' findAllSellers() should call dao and return result' () {
98
98
given :
99
99
List<EntityWithIdDto > expectedResult = [ TestObjects . createEntityWithIdDto() ]
100
100
when :
0 commit comments