Skip to content
Snippets Groups Projects
Commit e2c98e5c authored by Rob Adams's avatar Rob Adams
Browse files

Don't use deprecated Assert

parent c2a9a2e7
No related branches found
No related tags found
No related merge requests found
package net.floodlightcontroller.notification;
import junit.framework.Assert;
import static org.junit.Assert.*;
import org.junit.Test;
......@@ -13,8 +13,8 @@ public class NotificationTest {
NotificationManagerFactory.init();
INotificationManagerFactory factory =
NotificationManagerFactory.getNotificationManagerFactory();
Assert.assertNotNull(factory);
Assert.assertTrue(factory instanceof MockNotificationManagerFactory);
assertNotNull(factory);
assertTrue(factory instanceof MockNotificationManagerFactory);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment