From ca53793bb062c55c34821323aed30e233c4ad02b Mon Sep 17 00:00:00 2001 From: aietcn Date: Fri, 6 Apr 2018 23:19:15 +0800 Subject: [PATCH] update BAEL-1565 test method names (#3943) --- .../com/baeldung/easymock/BaeldungReaderMockDelegationTest.java | 2 +- .../com/baeldung/easymock/BaeldungReaderMockSupportTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockDelegationTest.java b/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockDelegationTest.java index f3cff97d47..3ff0d6416e 100755 --- a/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockDelegationTest.java +++ b/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockDelegationTest.java @@ -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); diff --git a/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockSupportTest.java b/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockSupportTest.java index bc3a953d06..3bed89927f 100755 --- a/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockSupportTest.java +++ b/testing-modules/mocks/mock-comparisons/src/test/java/com/baeldung/easymock/BaeldungReaderMockSupportTest.java @@ -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)