import 'package:shorebird_code_push_protocol/shorebird_code_push_protocol.dart';
import 'package:test/test.dart';

void main() {
  group(CreateChannelRequest, () {
    test('can be (de)serialized', () {
      const request = CreateChannelRequest(
        appId: 'my_app',
        channel: 'my_channel',
      );
      expect(
        CreateChannelRequest.fromJson(request.toJson()).toJson(),
        equals(request.toJson()),
      );
    });
  });
}
