disma 0.16.4

Discord server management has never been easier!
Documentation
use crate::{
    core::commands::channel::{AddChannel, DeleteChannel, UpdateChannel},
    tests::fixtures::{awaiting::AwaitingChannelFixture, existing::ExistingChannelFixture},
};

pub struct AddChannelFixture {}

impl AddChannelFixture {
    pub fn new() -> Self {
        AddChannelFixture {}
    }

    pub fn build(self) -> AddChannel {
        AddChannel::new(AwaitingChannelFixture::new().build())
    }
}

pub struct UpdateChannelFixture {}

impl UpdateChannelFixture {
    pub fn new() -> Self {
        UpdateChannelFixture {}
    }

    pub fn build(self) -> UpdateChannel {
        UpdateChannel::new(
            ExistingChannelFixture::new().build(),
            AwaitingChannelFixture::new().build(),
        )
    }
}

pub struct DeleteChannelFixture {}

impl DeleteChannelFixture {
    pub fn new() -> Self {
        DeleteChannelFixture {}
    }

    pub fn build(self) -> DeleteChannel {
        DeleteChannel::new(ExistingChannelFixture::new().build())
    }
}