use of org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation in project netconf by opendaylight.
the class NetconfDeviceTest method getSchemaRepository.
private static SchemaRepository getSchemaRepository() {
final SchemaRepository mock = mock(SchemaRepository.class);
final SchemaSourceRepresentation mockRep = mock(SchemaSourceRepresentation.class);
doReturn(Futures.immediateFuture(mockRep)).when(mock).getSchemaSource(any(SourceIdentifier.class), eq(YangTextSchemaSource.class));
return mock;
}
Aggregations