Skip to content

Instantly share code, notes, and snippets.

@loddar
Last active August 29, 2015 14:06
Show Gist options
  • Save loddar/ac9869b87df5c5fba5fe to your computer and use it in GitHub Desktop.
Save loddar/ac9869b87df5c5fba5fe to your computer and use it in GitHub Desktop.
ajUnit - Step 1 (Override setup()).
package com.company.project.aspects;
import org.failearly.ajunit.AjUnit4Test;
import org.failearly.ajunit.AjUnitSetup;
/**
* ajUnit - Step 1 (Override {@link #setup(org.failearly.ajunit.AjUnitSetup)}).
*
* Next error message:
*
* ajUnit - Setup Error: Missing aspect or not yet assigned.
* - Create an aspect and ...
* - assign it by calling AjUnitSetup.assignAspect("full.path.MyAspect") in setup(AjUnitSetup).
*/
public class MyAjUnit1Test extends AjUnit4Test {
@Override
public void setup(AjUnitSetup ajUnitSetup) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment