update BAEL-1565 test method names (#3943)
This commit is contained in:
parent
2f5d74ad37
commit
ca53793bb0
|
@ -10,7 +10,7 @@ public class BaeldungReaderMockDelegationTest {
|
|||
EasyMockSupport easyMockSupport = new EasyMockSupport();
|
||||
|
||||
@Test
|
||||
public void givenBaeldungReader_whenReadAndWrite_thenOperationSupported() {
|
||||
public void givenBaeldungReader_whenReadAndWriteSequencially_thenWorks() {
|
||||
ArticleReader mockArticleReader = easyMockSupport.createMock(ArticleReader.class);
|
||||
IArticleWriter mockArticleWriter = easyMockSupport.createMock(IArticleWriter.class);
|
||||
BaeldungReader baeldungReader = new BaeldungReader(mockArticleReader, mockArticleWriter);
|
||||
|
|
|
@ -17,7 +17,7 @@ public class BaeldungReaderMockSupportTest extends EasyMockSupport {
|
|||
@Mock IArticleWriter mockArticleWriter;
|
||||
|
||||
@Test
|
||||
public void givenBaeldungReader_whenReadAndWrite_thenOperationSupported() {
|
||||
public void givenBaeldungReader_whenReadAndWriteSequencially_thenWorks() {
|
||||
expect(mockArticleReader.next())
|
||||
.andReturn(null)
|
||||
.times(2)
|
||||
|
|
Loading…
Reference in New Issue