use of org.bf2.operator.operands.KafkaCluster in project kas-fleetshard by bf2fc6cc711aee1a0c2a.
the class KafkaInstanceTest method deleteOrderCanaryDeleteBeforeKafkaCluster.
@Test
void deleteOrderCanaryDeleteBeforeKafkaCluster() {
Context<ManagedKafka> context = Mockito.mock(Context.class);
kafkaInstance.delete(DUMMY_MANAGED_KAFKA, context);
InOrder inOrder = inOrder(canary, kafkaCluster);
inOrder.verify(canary).delete(DUMMY_MANAGED_KAFKA, context);
inOrder.verify(kafkaCluster).delete(DUMMY_MANAGED_KAFKA, context);
}
Aggregations