use of org.openhab.core.internal.i18n.I18nProviderImpl in project openhab-core by openhab.
the class I18nProviderImplTest method setup.
@BeforeEach
public void setup() {
initialConfig = buildInitialConfig();
when(componentContextMock.getProperties()).thenReturn(initialConfig);
when(componentContextMock.getBundleContext()).thenReturn(bundleContextMock);
when(bundleContextMock.getBundles()).thenReturn(new Bundle[] { bundleMock });
i18nProviderImpl = new I18nProviderImpl(componentContextMock);
}
Aggregations