@@ -0,0 +1,2690 @@
+/*%0A * Copyright 2016 BlackWholeLabs.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage tech.blackhole.blacknectar.service.api.operations;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.mockito.Mock;%0Aimport spark.Request;%0Aimport spark.Response;%0Aimport tech.aroma.client.Aroma;%0Aimport tech.sirwellington.alchemy.test.junit.runners.AlchemyTestRunner;%0Aimport tech.sirwellington.alchemy.test.junit.runners.DontRepeat;%0Aimport tech.sirwellington.alchemy.test.junit.runners.Repeat;%0A%0Aimport static org.hamcrest.Matchers.instanceOf;%0Aimport static org.hamcrest.Matchers.isEmptyOrNullString;%0Aimport static org.hamcrest.Matchers.not;%0Aimport static org.hamcrest.Matchers.notNullValue;%0Aimport static org.junit.Assert.assertThat;%0Aimport static tech.sirwellington.alchemy.test.junit.ThrowableAssertion.assertThrows;%0A%0A/**%0A *%0A * @author SirWellington%0A */%0A@Repeat(10)%0A@RunWith(AlchemyTestRunner.class)%0Apublic class SayHelloOperationTest %0A%7B%0A    %0A    @Mock%0A    private Aroma aroma;%0A    %0A    @Mock%0A    private Request request;%0A    %0A    @Mock%0A    private Response response;%0A    %0A    private SayHelloOperation instance;%0A%0A    @Before%0A    public void setUp() throws Exception%0A    %7B%0A        %0A        setupData();%0A        setupMocks();%0A        instance = new SayHelloOperation(aroma);%0A    %7D%0A%0A%0A    private void setupData() throws Exception%0A    %7B%0A        %0A    %7D%0A%0A    private void setupMocks() throws Exception%0A    %7B%0A        aroma = Aroma.create();%0A    %7D%0A    %0A    @DontRepeat%0A    @Test%0A    public void testConstructor()%0A    %7B%0A        assertThrows(() -%3E new SayHelloOperation(null));%0A    %7D%0A%0A    @Test%0A    public void testHandle() throws Exception%0A    %7B%0A        Object result = instance.handle(request, response);%0A        assertThat(result, notNullValue());%0A        assertThat(result, instanceOf(String.class));%0A        %0A        String message = result.toString();%0A        assertThat(message, not(isEmptyOrNullString()));%0A    %7D%0A    %0A    @DontRepeat%0A    @Test%0A    public void testHandleWithBadArguments() throws Exception%0A    %7B%0A        assertThrows(() -%3E instance.handle(null, response));%0A        assertThrows(() -%3E instance.handle(request, null));%0A    %7D%0A%0A%7D

Adds unit test: SayHelloOperationTest