質問編集履歴
1
bug fix
test
CHANGED
File without changes
|
test
CHANGED
@@ -65,7 +65,7 @@
|
|
65
65
|
String bucketName = "bucketName";
|
66
66
|
String prefix = "prefix";
|
67
67
|
|
68
|
-
when(s3ClientMock.listObjects).thenReturn(); // contentsがnullのListObjectsResponseを生成して返却したい
|
68
|
+
when(s3ClientMock.listObjects(any())).thenReturn(); // contentsがnullのListObjectsResponseを生成して返却したい
|
69
69
|
String actual = _target.mainMethod(bucketName, prefix);
|
70
70
|
|
71
71
|
assertThat(actual, is("object is empty");
|
@@ -77,7 +77,7 @@
|
|
77
77
|
String bucketName = "bucketName";
|
78
78
|
String prefix = "prefix";
|
79
79
|
|
80
|
-
when(s3ClientMock.listObjects).thenReturn(); // contentsがnullではないListObjectsResponseを生成して返却したい
|
80
|
+
when(s3ClientMock.listObjects(any())).thenReturn(); // contentsがnullではないListObjectsResponseを生成して返却したい
|
81
81
|
String actual = _target.mainMethod(bucketName, prefix);
|
82
82
|
|
83
83
|
assertThat(actual, is("object is Not empty");
|