Updating to NBMs from NetBeans 8.0.1 as some of them are required to run on JDK8
1 package org.apidesign.extensibleicon;
3 import org.junit.After;
4 import org.junit.Before;
6 import static org.junit.Assert.*;
8 public class ModifiedTest {
9 private ModifiableIcon icon;
11 public ModifiedTest() {
16 icon = new ModifiableIcon();
20 public void tearDown() {
23 @Test public void testEnabledDisabledState() {
24 assertNull("Not yet modified", icon.getLookup().lookup(Modified.class));
26 assertNotNull("Modified", icon.getLookup().lookup(Modified.class));