update BAEL-1565 test method names (#3943)

This commit is contained in:
aietcn 2018-04-06 23:19:15 +08:00 committed by Grzegorz Piwowarek
parent 2f5d74ad37
commit ca53793bb0
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)