• Home
  • Blog
  • Services
  • About Us
  • Contact
    BhasakaBhasaka
    • Home
    • Blog
    • Services
    • About Us
    • Contact

      Blog

      sling mock
      18 August

      Junit tests using Mockito & PowerMockito

      • Posted by Praveen Buduru
      • Categories Adobe AEM
      • Comments 0 comment

      Content: Unit Test Mock Spy Difference between Mock and Spy Difference Between doReturn()/when and When/thenReturn()  Ways to Initialize the Mocks Why Mockito does not mock static methods Mocking a Static Method of an external class Mocking static void method call  …

      Read More
      02 May

      Write/Read Binary data into/from JCR Node.

      • Posted by Krishna Reddy Panditi
      • Categories Adobe AEM
      • Comments 0 comment

      Write Binary Data :  We can use Node API classes ValueFactory and Value to store binary data into JCR. ValueFactory can be used to create Binary object from InputStream and Value object from binary object. String html = “Welcome”; InputStream stream …

      Read More

      Search

      Categories

      • Adobe AEM
      logo-eduma-the-best-lms-wordpress-theme
      hr@bhasaka.com
      (040) 48520391