In this article written by Deep Shah, the author of the book Instant Mock Testing with PowerMock shows how effortlessly we can mock static methods with PowerMock. Most of the mocking frameworks have trouble mocking static methods. But for Power Mock, it’s just another day at work.
The real power of PowerMock is the ability to mock things that other frameworks can't. One such thing is mocking static methods.Read Mocking static methods (Simple) in full
This article by Eric Siron, the author of Microsoft Hyper-V Cluster Design, presents holistic and specific methods to determine how well your system performs. It then guides you through balancing virtual machines across cluster nodes.
Now that we've covered how to design and plan your virtual machines, we're going to turn to the host's view of things. There are add-on and third-party tools that can perform automatic load balancing, but a failover cluster of Hyper-V Servers will only perform balancing in response to a failover event. Whether you'll use automated tools or not, you'll need to have an understanding of your host's abilities.
Balancing is not the entire story. Even if you have additional tools that can perform load balancing for you, you'll still need to keep abreast of the performance metrics of your cluster. As new virtual machines are added, your total capacity will be lessened and you'll want to know well in advance if you need to add hardware. Remember that your cluster is probably intended to survive the loss of at least one host without negatively impacting virtual machines, so just having a fully functional cluster with sufficient capacity may not be adequate.
There are two basic components to proper balancing. The first is being aware of what your hosts are capable of. The second is being aware of what they're doing. This article will work through a number of ways to satisfy these needs. You'll be introduced to the following concepts and activities:
- General system testing
- Disk I/O testing
- Memory testing
- Network testing
- Preferred and possible owners
This Article, by David Duncan and Christopher Liley, authors of Microsoft Dynamics GP 2013 Reporting, Second Edition, explains that, as a developer or consultant who has been assigned the task of filling user requests for reports should be aware that ultimately the very first question after deciding on the reporting tool is, "Where is my data and how do I get to it?"
Knowing where to begin is a critical first step in the development process. The aim of this article is to provide helpful tips for finding and locating data in the Dynamics GP 2013 ERP system and company databases. Although we'll discuss some reporting tools that do not require us to know the SQL database structure for Dynamics GP companies, it is still helpful to understand how GP stores its data.
In this article, we will discuss the following:
- Differences between the system database and company databases
- Conventions that are helpful to know and understand when it comes to Microsoft Dynamics GP 2013 data and how it is stored
- Using Resource Descriptions as a tool for finding data from within GP 2013
- Utilizing additional tools, such as the GP 2013 SDK and Support Debugging Tool, to find our data
In this article by Giorgio Natili, the author of the book PhoneGap 3 Beginner's Guide, you will:
- Learn about geolocation and how its data are available in the device
- Explore the differences between the HTML5 and the PhoneGap Geolocation APIs
- Learn how to use the PhoneGap Geolocation API and how to integrate the Google Maps API in an app
- Learn how to use Geolocation data in conjunction with external service providers such as Google Places