Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Improve variable name in EthGetBlockByHashTest #196

Merged
merged 2 commits into from
Oct 28, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Improve variable name in EthGetBlockByHashTest
  • Loading branch information
jvirtanen committed Oct 27, 2018
commit 71b8ac47607004593d75beba3c272ef0c5bbcd75
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class EthGetBlockByHashTest {

@Rule public final ExpectedException thrown = ExpectedException.none();

@Mock private BlockchainQueries blockChainQueries;
@Mock private BlockchainQueries blockchainQueries;
private final BlockResultFactory blockResult = new BlockResultFactory();
private final JsonRpcParameter parameters = new JsonRpcParameter();
private EthGetBlockByHash method;
Expand All @@ -45,7 +45,7 @@ public class EthGetBlockByHashTest {

@Before
public void setUp() {
method = new EthGetBlockByHash(blockChainQueries, blockResult, parameters);
method = new EthGetBlockByHash(blockchainQueries, blockResult, parameters);
}

@Test
Expand All @@ -62,7 +62,7 @@ public void exceptionWhenNoParamsSupplied() {

method.response(request);

verifyNoMoreInteractions(blockChainQueries);
verifyNoMoreInteractions(blockchainQueries);
}

@Test
Expand All @@ -74,7 +74,7 @@ public void exceptionWhenNoHashSupplied() {

method.response(request);

verifyNoMoreInteractions(blockChainQueries);
verifyNoMoreInteractions(blockchainQueries);
}

@Test
Expand All @@ -86,7 +86,7 @@ public void exceptionWhenNoBoolSupplied() {

method.response(request);

verifyNoMoreInteractions(blockChainQueries);
verifyNoMoreInteractions(blockchainQueries);
}

@Test
Expand All @@ -98,7 +98,7 @@ public void exceptionWhenHashParamInvalid() {

method.response(request);

verifyNoMoreInteractions(blockChainQueries);
verifyNoMoreInteractions(blockchainQueries);
}

@Test
Expand All @@ -110,7 +110,7 @@ public void exceptionWhenBoolParamInvalid() {

method.response(request);

verifyNoMoreInteractions(blockChainQueries);
verifyNoMoreInteractions(blockchainQueries);
}

private JsonRpcRequest requestWithParams(final Object... params) {
Expand Down