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

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


    @Test
    public void testGetSetId() {
        // Arrange
        String expectedId = "expectedId";
        AssetInfo assetInfo = new AssetInfo(null,
                new AssetType().setId(expectedId));

        // Act
        String actualId = assetInfo.getId();

        // Assert
View Full Code Here


    @Test
    public void testGetSetState() {
        // Arrange
        AssetState expectedState = AssetState.Published;
        AssetInfo assetInfo = new AssetInfo(null,
                new AssetType().setState(expectedState.getCode()));

        // Act
        AssetState actualState = assetInfo.getState();

        // Assert
View Full Code Here

    public void testGetSetCreated() throws Exception {
        // Arrange
        Date expectedCreated = new Date();

        AssetInfo assetInfo = new AssetInfo(null,
                new AssetType().setCreated(expectedCreated));

        // Act
        Date actualCreated = assetInfo.getCreated();

        // Assert
View Full Code Here

    @Test
    public void testGetSetLastModified() throws Exception {
        // Arrange
        Date expectedLastModified = new Date();
        AssetInfo assetInfo = new AssetInfo(null,
                new AssetType().setLastModified(expectedLastModified));

        // Act
        Date actualLastModified = assetInfo.getLastModified();

        // Assert
View Full Code Here

    @Test
    public void testGetSetAlternateId() {
        // Arrange
        String expectedAlternateId = "testAlternateId";
        AssetInfo assetInfo = new AssetInfo(null,
                new AssetType().setAlternateId(expectedAlternateId));

        // Act
        String actualAlternateId = assetInfo.getAlternateId();

        // Assert
View Full Code Here

    @Test
    public void testGetSetName() {
        // Arrange
        String expectedName = "testName";
        AssetInfo assetInfo = new AssetInfo(null,
                new AssetType().setName(expectedName));

        // Act
        String actualName = assetInfo.getName();

        // Assert
View Full Code Here

    public void testGetSetOptions() {
        // Arrange

        AssetOption expectedOptions = AssetOption.None;
        AssetInfo assetInfo = new AssetInfo(null,
                new AssetType().setOptions(expectedOptions.getCode()));

        // Act
        AssetOption actualOptions = assetInfo.getOptions();

        // Assert
View Full Code Here

TOP

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

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.