import { Test, TestingModule } from '@nestjs/testing';
import { GuestsController } from './guests.controller';
import {GuestsService} from "./guests.service";
import {GuestsServiceMock} from "../mocks/guests-service.mock";

describe('GuestsController', () => {
  let controller: GuestsController;

  beforeEach(async () => {
    const module: TestingModule = await Test.createTestingModule({
      controllers: [GuestsController],
      providers: [
        { provide: GuestsService, useValue: GuestsServiceMock },
      ]
    }).compile();

    controller = module.get<GuestsController>(GuestsController);
  });

  it('should be defined', () => {
    expect(controller).toBeDefined();
  });
});
