tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.provider; |
2 | |||||
3 | import org.junit.Test; | ||||
4 | |||||
5 | import static org.junit.Assert.assertEquals; | ||||
6 | |||||
7 | /** | ||||
8 | * Test of the base provider implementation. | ||||
9 | */ | ||||
10 | public class AbstractProviderTest { | ||||
11 | |||||
12 | @Test | ||||
13 | public void basics() { | ||||
14 | ProviderId id = new ProviderId("foo.bar"); | ||||
15 | TestProvider provider = new TestProvider(id); | ||||
16 | assertEquals("incorrect id", id, provider.id()); | ||||
17 | } | ||||
18 | } |