SdxL2Manager implements SdxL2Service { @Override public Set<String> getSdxL2s() { return this.sdxL2Store.getSdxL2s(); }  @Modified void modified(ComponentContext context); @Override void createSdxL2(String sdxl2); @Override void deleteSdxL2(String sdxl2); @Override Set<String> getSdxL2s(); @Override void addSdxL2ConnectionPoint(String sdxl2, SdxL2ConnectionPoint sdxl2cp); @Override Set<String> getSdxL2ConnectionPoints(Optional<String> sdxl2); @Override void removeSdxL2ConnectionPoint(String sdxl2cp); @Override void addVC(String sdxl2, String sdxl2cplhs, String sdxl2cprhs); @Override void removeVC(String vc); @Override SdxL2ConnectionPoint getSdxL2ConnectionPoint(String sdxl2cp); @Override Set<String> getVirtualCircuits(Optional<String> sdxl2); @Override VirtualCircuit getVirtualCircuit(String sdxl2vc); @Override SdxL2State getIntentState(Key intentKey); @Override SdxL2State getEdgePortState(ConnectPoint edgeport); @Override void cleanSdxL2(); void cleanup();  }
@Test public void testGetSdxL2s() { Set<String> old = new HashSet<>(); old.add(SDXL2_2); old.add(SDXL2); manager.createSdxL2(SDXL2); manager.createSdxL2(SDXL2_2); Set<String> sdxl2 = manager.getSdxL2s(); assertEquals(sdxl2, old); manager.deleteSdxL2(SDXL2); sdxl2 = manager.getSdxL2s(); assertNotEquals(sdxl2, old); }