Package com.microsoft.windowsazure.services.servicebus.implementation

Examples of com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy


    }

    @Test
    public void testGetSetPartioningPolicy() {
        // Arrange
        PartitioningPolicy expectedPartitioningPolicy = PartitioningPolicy.NO_PARTITIONING;
        TopicInfo topicInfo = new TopicInfo();

        // Act
        PartitioningPolicy actualPartitioningPolicy = topicInfo
                .setPartitioningPolicy(expectedPartitioningPolicy)
                .getPartitioningPolicy();

        // Assert
        assertEquals(expectedPartitioningPolicy, actualPartitioningPolicy);
View Full Code Here


    }

    @Test
    public void testGetSetPartioningPolicy() {
        // Arrange
        PartitioningPolicy expectedPartitioningPolicy = PartitioningPolicy.NO_PARTITIONING;
        QueueInfo queueInfo = new QueueInfo();

        // Act
        PartitioningPolicy actualPartitioningPolicy = queueInfo
                .setPartitioningPolicy(expectedPartitioningPolicy)
                .getPartitioningPolicy();

        // Assert
        assertEquals(expectedPartitioningPolicy, actualPartitioningPolicy);
View Full Code Here

TOP

Related Classes of com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy

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.