diff --git a/beacon/validator/src/test/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactoryTest.java b/beacon/validator/src/test/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactoryTest.java index 97ee0bffe0b..4299c41b37f 100644 --- a/beacon/validator/src/test/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactoryTest.java +++ b/beacon/validator/src/test/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactoryTest.java @@ -619,21 +619,6 @@ private void prepareCachedPayloadResult( Optional.empty()))); } - private void prepareCachedPayloadResult( - final UInt64 slot, - final ExecutionPayloadContext executionPayloadContext, - final HeaderWithFallbackData headerWithFallbackData) { - when(executionLayer.getCachedPayloadResult(slot)) - .thenReturn( - Optional.of( - new ExecutionPayloadResult( - executionPayloadContext, - Optional.empty(), - Optional.empty(), - Optional.of(SafeFuture.completedFuture(headerWithFallbackData)), - Optional.empty()))); - } - private static class CapturingBeaconBlockBodyBuilder implements BeaconBlockBodyBuilder { private final boolean blinded;