package com.fenixinfotech.aspectj.playpen;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by 700608667 on 11/09/2015.
 */
public class AspectedFunctionalityTest
{

    @Test
    public void testPower() throws Exception
    {
        new AspectedFunctionality().power(2, 3);
    }
}
package com.fenixinfotech.aspectj.playpen;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by 700608667 on 11/09/2015.
 */
public class AspectedFunctionalityTest
{

    @Test
    public void testPower() throws Exception
    {
        assertEquals(8, new AspectedFunctionality().power(2, 3), 0);
    }
}
Check expected output of aspected operation.
Check expected output of aspected operation.
