Errata

Microsoft® .NET: Architecting Applications for the Enterprise

Errata for Microsoft® .NET: Architecting Applications for the Enterprise

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 104
Third sample code block

OBSERVATION: The preceding text and name of the example test method, TestIfExecuteWorks(), indicate that it should test the Task.Execute() method, but the Task.Execute() method is not invoked in the body of the example. Hence, the example does not really illustrate the utility or necessity of providing fake objects because the fake object is used only in the construction of the Task object where a null reference would serve equally well. No error would actually occur in the example as written even if the fake object had not been provided.

RECOMMENDATION: Include a call to Execute() in the body of the example to illustrate the need for and utility of the fake object.

Peter Gluck  Mar 22, 2011