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() { |
tom | 7e02cda | 2014-09-18 12:05:46 -0700 | [diff] [blame] | 14 | ProviderId id = new ProviderId("of", "foo.bar"); |
tom | de8d968 | 2014-08-27 01:11:43 -0700 | [diff] [blame] | 15 | TestProvider provider = new TestProvider(id); |
| 16 | assertEquals("incorrect id", id, provider.id()); |
| 17 | } |
| 18 | } |