Search in sources :

Example 1 with BindsConfigAdapter

use of org.terasology.engine.core.subsystem.config.BindsSubsystem.BindsConfigAdapter in project Terasology by MovingBlocks.

the class BindsSubsystemTest method setUp.

@BeforeEach
public void setUp() {
    bindsSubsystem = new BindsSubsystem();
    bindsConfiguration = new BindsConfigAdapter(new BindsConfig());
    context = new ContextImpl();
    context.put(BindsConfiguration.class, bindsConfiguration);
    bindsSubsystem.preInitialise(context);
    setUpMockModuleEnvironment();
}
Also used : BindsConfigAdapter(org.terasology.engine.core.subsystem.config.BindsSubsystem.BindsConfigAdapter) BindsConfig(org.terasology.engine.config.BindsConfig) ContextImpl(org.terasology.engine.context.internal.ContextImpl) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

BeforeEach (org.junit.jupiter.api.BeforeEach)1 BindsConfig (org.terasology.engine.config.BindsConfig)1 ContextImpl (org.terasology.engine.context.internal.ContextImpl)1 BindsConfigAdapter (org.terasology.engine.core.subsystem.config.BindsSubsystem.BindsConfigAdapter)1