• About
Triona Weblog

Software Development and much more

Mocking

How to use PowerMock with Java 7

25.10.2013 by Anton Autor

A short introduction Nowadays it is pretty difficult to write self-contained unit tests for JEE applications. This is due to the fact that managed beans usually interact with the container in which they run and have a certain context at runtime. Two examples would be the usage of @Inject to inject dependencies and retrieving the … [Read more…]

Views: 7267
Posted in: JEE Tagged: Java 7, Mocking, Mockito, PowerMock, stackmap frames, Testing
April 2021
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  
« Apr    

Tags

ajax Apache API Architecture CDI Collections CSS Database EA Eclipse EJB Enterprise Architect Erweiterungen Excel Hessian Hibernate HTML Java JavaEE javascript JDBC JEE JEE 6 jQuery JSF Makro Maven Oracle PHP Plugins Relation relationship Richfaces Security Service Service Facade SOA Spring Subversion Tomcat Tutorial VBA web application XML XML-Schema

Recent Posts

  • Erste Schritte mit Hibernate Spatial
  • MVC 1.0 Framework
  • CDI and Proxies
  • Java collections: sequence and sorting
  • Java Collections: Reihenfolge und Sortierung

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2021 Triona Weblog.

Impressum | Datenschutzerklärung