mod string_pattern;
pub use string_pattern::StringPattern;
use crate::assertions::string::*;
use crate::core::assert::ChainableAssert;
use std::fmt::Debug;
pub trait ShouldString<S: Debug>
where
S: AsRef<str>,
{
fn contain<P>(self, right: P) -> ChainableAssert<ContainString<S, P>>
where
P: StringPattern;
fn start_with<P>(self, right: P) -> ChainableAssert<StartWithString<S, P>>
where
P: StringPattern;
fn end_with<P>(self, right: P) -> ChainableAssert<EndWithString<S, P>>
where
P: StringPattern;
fn be_empty(self) -> ChainableAssert<BeEmptyString<S>>;
}