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

Commit

Permalink
Improve variable name in EthGetBlockByHashTest (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvirtanen authored and ajsutton committed Oct 28, 2018
1 parent de5796e commit 388a948
Showing 1 changed file with 7 additions and 7 deletions.
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

0 comments on commit 388a948

Please sign in to comment.