Package com.microsoft.windowsazure.services.media.implementation.content

Examples of com.microsoft.windowsazure.services.media.implementation.content.AssetFileType


    @Test
    public void testGetSetEncryptionVersion() {
        String expectedEncryptionVersion = "testEncryptionVersion";
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType()
                        .setEncryptionVersion(expectedEncryptionVersion));

        String actualEncryptionVersion = fileInfo.getEncryptionVersion();

        assertEquals(expectedEncryptionVersion, actualEncryptionVersion);
View Full Code Here


    @Test
    public void testGetSetEncryptionScheme() {
        // Arrange
        String expectedEncryptionScheme = "testEncryptionScheme";
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType()
                        .setEncryptionScheme(expectedEncryptionScheme));

        // Act
        String actualEncryptionScheme = fileInfo.getEncryptionScheme();
View Full Code Here

    @Test
    public void testGetSetIsEncrypted() {
        // Arrange
        Boolean expectedIsEncrypted = true;
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType().setIsEncrypted(expectedIsEncrypted));

        // Act
        Boolean actualIsEncrypted = fileInfo.getIsEncrypted();

        // Assert
View Full Code Here

    @Test
    public void testGetSetEncryptionKeyId() {
        String expectedEncryptionKeyId = "testEncryptionKeyId";
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType().setEncryptionKeyId(expectedEncryptionKeyId));

        String actualEncryptionKeyId = fileInfo.getEncryptionKeyId();

        assertEquals(expectedEncryptionKeyId, actualEncryptionKeyId);
    }
View Full Code Here

    @Test
    public void testGetSetInitializationVector() {
        String expectedInitializationVector = "testInitializationVector";
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType()
                        .setInitializationVector(expectedInitializationVector));

        String actualInitializationVector = fileInfo.getInitializationVector();

        assertEquals(expectedInitializationVector, actualInitializationVector);
View Full Code Here

    @Test
    public void testGetSetIsPrimary() {
        // Arrange
        Boolean expectedIsPrimary = true;
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType().setIsPrimary(expectedIsPrimary));

        // Act
        Boolean actualIsPrimary = fileInfo.getIsPrimary();

        // Assert
View Full Code Here

    @Test
    public void testGetSetLastModified() {
        Date expectedLastModified = new Date();
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType().setLastModified(expectedLastModified));

        Date actualLastModified = fileInfo.getLastModified();

        assertEquals(expectedLastModified, actualLastModified);
    }
View Full Code Here

    @Test
    public void testGetSetCreated() {
        Date expectedCreated = new Date();
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType().setCreated(expectedCreated));

        Date actualCreated = fileInfo.getCreated();

        assertEquals(expectedCreated, actualCreated);
    }
View Full Code Here

    @Test
    public void testGetSetMimeType() {
        String expectedMimeType = "testMimeType";
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType().setMimeType(expectedMimeType));

        String actualMimeType = fileInfo.getMimeType();

        assertEquals(expectedMimeType, actualMimeType);
    }
View Full Code Here

    @Test
    public void testGetSetContentChecksum() {
        String expectedContentChecksum = "testContentChecksum";
        AssetFileInfo fileInfo = new AssetFileInfo(null,
                new AssetFileType().setContentChecksum(expectedContentChecksum));

        String actualContentChecksum = fileInfo.getContentChecksum();

        assertEquals(expectedContentChecksum, actualContentChecksum);
    }
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.services.media.implementation.content.AssetFileType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.