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();
|
EasyMockSupport easyMockSupport = new EasyMockSupport();
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenBaeldungReader_whenReadAndWrite_thenOperationSupported() {
|
public void givenBaeldungReader_whenReadAndWriteSequencially_thenWorks() {
|
||||||
ArticleReader mockArticleReader = easyMockSupport.createMock(ArticleReader.class);
|
ArticleReader mockArticleReader = easyMockSupport.createMock(ArticleReader.class);
|
||||||
IArticleWriter mockArticleWriter = easyMockSupport.createMock(IArticleWriter.class);
|
IArticleWriter mockArticleWriter = easyMockSupport.createMock(IArticleWriter.class);
|
||||||
BaeldungReader baeldungReader = new BaeldungReader(mockArticleReader, mockArticleWriter);
|
BaeldungReader baeldungReader = new BaeldungReader(mockArticleReader, mockArticleWriter);
|
||||||
|
|
|
@ -17,7 +17,7 @@ public class BaeldungReaderMockSupportTest extends EasyMockSupport {
|
||||||
@Mock IArticleWriter mockArticleWriter;
|
@Mock IArticleWriter mockArticleWriter;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenBaeldungReader_whenReadAndWrite_thenOperationSupported() {
|
public void givenBaeldungReader_whenReadAndWriteSequencially_thenWorks() {
|
||||||
expect(mockArticleReader.next())
|
expect(mockArticleReader.next())
|
||||||
.andReturn(null)
|
.andReturn(null)
|
||||||
.times(2)
|
.times(2)
|
||||||
|
|
Loading…
Reference in New Issue