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

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


    @Test
    public void testGetSetType() {
        // Arrange
        LocatorType expectedLocatorType = LocatorType.SAS;
        LocatorInfo locatorInfo = new LocatorInfo(null,
                new LocatorRestType().setType(expectedLocatorType.getCode()));

        // Act
        LocatorType actualLocatorType = locatorInfo.getLocatorType();

        // Assert
View Full Code Here


    @Test
    public void testGetSetPath() {
        // Arrange
        String expectedPath = "testPath";
        LocatorInfo locatorInfo = new LocatorInfo(null,
                new LocatorRestType().setPath(expectedPath));

        // Act
        String actualPath = locatorInfo.getPath();

        // Assert
View Full Code Here

    @Test
    public void testGetSetAccessPolicyId() {
        // Arrange
        String expectedAccessPolicyId = "testAccessPolicyId";
        LocatorInfo locatorInfo = new LocatorInfo(null,
                new LocatorRestType().setAccessPolicyId(expectedAccessPolicyId));

        // Act
        String actualAccessPolicyId = locatorInfo.getAccessPolicyId();

        // Assert
View Full Code Here

    @Test
    public void testGetSetAssetId() {
        // Arrange
        String expectedAssetId = "testAssetId";
        LocatorInfo locatorInfo = new LocatorInfo(null,
                new LocatorRestType().setAssetId(expectedAssetId));

        // Act
        String actualAssetId = locatorInfo.getAssetId();

        // Assert
View Full Code Here

    @Test
    public void testGetSetStartTime() {
        // Arrange
        Date expectedStartTime = new Date();
        LocatorInfo locatorInfo = new LocatorInfo(null,
                new LocatorRestType().setStartTime(expectedStartTime));

        // Act
        Date actualStartTime = locatorInfo.getStartTime();

        // Assert
View Full Code Here

    @Test
    public void testGetSetBaseUri() {
        // Arrange
        String expectedBaseUri = "testBaseUri";
        LocatorInfo locatorInfo = new LocatorInfo(null,
                new LocatorRestType().setBaseUri(expectedBaseUri));

        // Act
        String actualBaseUri = locatorInfo.getBaseUri();

        // Assert
View Full Code Here

    public void testGetSetContentAccessComponent() {
        // Arrange
        String expectedContentAccessComponent = "testContentAccessToken";
        LocatorInfo locatorInfo = new LocatorInfo(
                null,
                new LocatorRestType()
                        .setContentAccessComponent(expectedContentAccessComponent));

        // Act
        String actualContentAccessComponent = locatorInfo
                .getContentAccessToken();
View Full Code Here

TOP

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

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.