Improve variable name in EthGetBlockByHashTest (#196)

Jussi Virtanen 6 years ago committed by Adrian Sutton
parent de5796e478
commit 388a948e32
  1. 14
      ethereum/jsonrpc/src/test/java/tech/pegasys/pantheon/ethereum/jsonrpc/internal/methods/EthGetBlockByHashTest.java

@ -35,7 +35,7 @@ public class EthGetBlockByHashTest {
@Rule public final ExpectedException thrown = ExpectedException.none(); @Rule public final ExpectedException thrown = ExpectedException.none();
@Mock private BlockchainQueries blockChainQueries; @Mock private BlockchainQueries blockchainQueries;
private final BlockResultFactory blockResult = new BlockResultFactory(); private final BlockResultFactory blockResult = new BlockResultFactory();
private final JsonRpcParameter parameters = new JsonRpcParameter(); private final JsonRpcParameter parameters = new JsonRpcParameter();
private EthGetBlockByHash method; private EthGetBlockByHash method;
@ -45,7 +45,7 @@ public class EthGetBlockByHashTest {
@Before @Before
public void setUp() { public void setUp() {
method = new EthGetBlockByHash(blockChainQueries, blockResult, parameters); method = new EthGetBlockByHash(blockchainQueries, blockResult, parameters);
} }
@Test @Test
@ -62,7 +62,7 @@ public class EthGetBlockByHashTest {
method.response(request); method.response(request);
verifyNoMoreInteractions(blockChainQueries); verifyNoMoreInteractions(blockchainQueries);
} }
@Test @Test
@ -74,7 +74,7 @@ public class EthGetBlockByHashTest {
method.response(request); method.response(request);
verifyNoMoreInteractions(blockChainQueries); verifyNoMoreInteractions(blockchainQueries);
} }
@Test @Test
@ -86,7 +86,7 @@ public class EthGetBlockByHashTest {
method.response(request); method.response(request);
verifyNoMoreInteractions(blockChainQueries); verifyNoMoreInteractions(blockchainQueries);
} }
@Test @Test
@ -98,7 +98,7 @@ public class EthGetBlockByHashTest {
method.response(request); method.response(request);
verifyNoMoreInteractions(blockChainQueries); verifyNoMoreInteractions(blockchainQueries);
} }
@Test @Test
@ -110,7 +110,7 @@ public class EthGetBlockByHashTest {
method.response(request); method.response(request);
verifyNoMoreInteractions(blockChainQueries); verifyNoMoreInteractions(blockchainQueries);
} }
private JsonRpcRequest requestWithParams(final Object... params) { private JsonRpcRequest requestWithParams(final Object... params) {

Loading…
Cancel
Save