package com.akikanellis.kata01.stock;

import com.akikanellis.kata01.offer.OfferStrategy;
import com.akikanellis.kata01.offer.OfferStrategyRepository;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;

import static com.akikanellis.kata01.test_utils.Fakes.createDefaultOfferStrategy;
import static org.mockito.Mockito.verify;

@RunWith(MockitoJUnitRunner.class)
public class RemoveOfferStrategyUseCaseTest {
    @Mock private OfferStrategyRepository offerStrategies;
    private RemoveOfferStrategyUseCase removeOfferStrategyUseCase;

    @Before public void beforeEach() { removeOfferStrategyUseCase = new RemoveOfferStrategyUseCase(offerStrategies); }

    @Test public void addingOfferStrategy_addsStrategyInRepository() {
        OfferStrategy offerStrategy = createDefaultOfferStrategy();

        removeOfferStrategyUseCase.execute(offerStrategy);

        verify(offerStrategies).remove(offerStrategy);
    }
}
@@ -621,23 +621,16 @@
 Strategy
-UseCase
 ;%0A%0A    @
@@ -682,23 +682,16 @@
 Strategy
-UseCase
  = new R
@@ -763,31 +763,24 @@
 oid 
-addingOfferStrategy_add
+executing_remove
 sStr
@@ -788,10 +788,12 @@
 tegy
-In
+From
 Repo
@@ -899,23 +899,16 @@
 Strategy
-UseCase
 .execute

Fix wrong naming