Class PublicConstructorDemo


  • public class PublicConstructorDemo
    extends java.lang.Object
    Demonstrates the ability to invoke a test on a private constructor as well as lazy initialization of private collaborators.
    • Field Detail

      • privateService

        private Service privateService
      • constructorResult

        private java.lang.String constructorResult
    • Constructor Detail

      • PublicConstructorDemo

        public PublicConstructorDemo​(java.lang.String completeName)
    • Method Detail

      • getConstructorResult

        public java.lang.String getConstructorResult()