@@ -0,0 +1,767 @@
+package es.sandbox.spikes.java8.interfaces;%0A%0Aimport es.sandbox.spikes.java8.InvocationSpy;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Aimport static es.sandbox.spikes.java8.InvocationSpy.spy;%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0A/**%0A * Created by jeslopalo on 30/12/15.%0A */%0Apublic class FunctionalInterfaceSpecs %7B%0A%0A    private InvocationSpy spy;%0A%0A    private static final void callFunctionalInterface(SimpleFunctionalInterface functionalInterface) %7B%0A        functionalInterface.doWork();%0A    %7D%0A%0A    @Before%0A    public void setup() %7B%0A        this.spy = spy();%0A    %7D%0A%0A    @Test%0A    public void has_one_callable_method() %7B%0A        callFunctionalInterface(() -%3E this.spy.invocation());%0A%0A        assertThat(this.spy.invoked()).isTrue();%0A    %7D%0A%7D%0A

Add FunctionalInterfaceSpecs test suite