public async Task ShouldDeleteGroupAndChargeStations() { var group = await AddGroupAsync(); var station = await AddChargeStationAsync(group.Id); var command = new DeleteGroupCommand { GroupId = group.Id }; await Testing.SendAsync(command); group = await Testing.FindAsync <Group>(command.GroupId); group.Should().BeNull(); var chargeStation = await Testing.FindAsync <ChargeStation>(station.Id); chargeStation.Should().BeNull(); }