Search in sources :

Example 1 with InstanceEventPublisher

use of de.codecentric.boot.admin.server.eventstore.InstanceEventPublisher in project spring-boot-admin by codecentric.

the class ApplicationRegistryTest method setUp.

@BeforeEach
public void setUp() {
    this.instanceRegistry = mock(InstanceRegistry.class);
    InstanceEventPublisher instanceEventPublisher = mock(InstanceEventPublisher.class);
    this.applicationRegistry = new ApplicationRegistry(this.instanceRegistry, instanceEventPublisher);
}
Also used : InstanceEventPublisher(de.codecentric.boot.admin.server.eventstore.InstanceEventPublisher) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

InstanceEventPublisher (de.codecentric.boot.admin.server.eventstore.InstanceEventPublisher)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1