sovrin-rust-client-lib 0.1.0

sovrin-rust-client-lib
pub struct AnoncredsService {
    dummy: String
}

impl AnoncredsService {
    fn new() -> AnoncredsService {
        AnoncredsService { dummy: "anoncreds_dummy".to_string() }
    }
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn service_creation_is_possible() {
        let anoncredsService = AnoncredsService::new();
        assert_eq!("anoncreds_dummy", anoncredsService.dummy, "Dummy field is filled by constructor");
    }
}