// Exact Rust translations of the remaining manager cases in
// LibreMetaverse.Tests/ConstructorNullArgumentTests.cs.
// Source SHA-256: 28deea0bf4d9353a2424842c6184abab8fe82746ceb12e093912728a247f21bc

use libremetaverse::{AppearanceManager, AvatarManager, Error};

// parity-case: LibreMetaverse.Tests/ConstructorNullArgumentTests.cs::ConstructorNullArgumentTests.AppearanceManager_Null_Throws::test a3c872805bc924b5a1a9441d5c9eb61ed6d6e9477e4bb411131359290b144ab4 translated
#[test]
fn appearance_manager_null_throws() {
    assert!(matches!(
        AppearanceManager::new(None),
        Err(Error::ArgumentNull)
    ));
}

// parity-case: LibreMetaverse.Tests/ConstructorNullArgumentTests.cs::ConstructorNullArgumentTests.AvatarManager_Null_Throws::test 54f23cbf0ba87b0525c2914e78d75808e93fd1c460fc0bec4d15f09575b1431c translated
#[test]
fn avatar_manager_null_throws() {
    assert!(matches!(AvatarManager::new(None), Err(Error::ArgumentNull)));
}
